You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
promoteChatMember method has subset of options, related only to specific chat types: can_pin_messages - ... supergroups only, can_edit_messages - ... channels only.
Maybe we can add overloaded methods with specific subset of options:
This feature goes against our rule to stick to type hierarchy from the Bot API docs. In the docs ChatPermissions object doesn't have a hierarchy split between different types of chats so we shouldn't assume it.
promoteChatMember method has subset of options, related only to specific chat types:
can_pin_messages
- ... supergroups only,can_edit_messages
- ... channels only.Maybe we can add overloaded methods with specific subset of options:
The text was updated successfully, but these errors were encountered: