Closed markhaehnel closed 1 year ago
Oh my gosh. Forgive me for the stupidity of creating this issue here. One should clear the filter in the console. 🙈 Everything is working fine and as expected... Again, this library saved me hours of work, thank you!
Hi @MahdiBM, first of all, thank you for the work on that library!
For some reason i cannot resolve the message type in a
switch
statement like in the examples.This is my code:
It does not go into the
case let .privateMessage(privateMessage):
and always falls through to the default.The
print
statements i've added print the following output to the console:So it looks like it has the proper type but why doesn't it work?
Additional info:
If you need additional info just hit me up here and i will follow your request.