[x] 🟢 I have the latest version of the framework installed 🟢
✏️ Description ✏️
IsPrivate rule (and some other) do not support CallbackQueryCute even when the latter must be supported.
IsPrivate rule checks if chat_type is private. Message does support it and IsPrivate inherits from MessageRule that doesn't let anything but Message go there. There should be something like CallbackQueryOrMessageRule, adapter of which supports both Message and CallbackQuery
⚪️ Checklist ⚪️
✏️ Description ✏️
IsPrivate
rule (and some other) do not supportCallbackQueryCute
even when the latter must be supported.IsPrivate
rule checks ifchat_type
isprivate
.Message
does support it andIsPrivate
inherits fromMessageRule
that doesn't let anything butMessage
go there. There should be something likeCallbackQueryOrMessageRule
, adapter of which supports bothMessage
andCallbackQuery