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
Doc note: Bots are now allowed to contact users who sent a join request to a chat where the bot is an administrator with the can_invite_users administrator right – even if the user never interacted with the bot before.
Doc note/potential shortcut: Added support for mentioning users by their ID in inline keyboards. This will only work in Telegram versions released after December 7, 2021. Older clients will display unsupported message.
New methods, nedds shortcuts at : Added the methods banChatSenderChat and unbanChatSenderChat for banning and unbanning channel chats in supergroups and channels.
Chat addition: Added the field has_private_forwards to the class Chat for private chats, which can be used to check the possibility of mentioning the user by their ID.
Chat/Message addition: Added the field has_protected_content to the classes Chat and Message.
Message addition: Added the field is_automatic_forward to the class Message.
Evaluate if worth adding to channel post/forward method docs: Note: After this update it will become impossible to forward messages from some chats. Use the fields has_protected_content in the classes Message and Chat to check this.
Evaluate if worth adding to channel post: Note: After this update users are able to send messages on behalf of channels they own. Bots are expected to use the field sender_chat in the class Message to correctly support such messages. Edit: Decided to not add it.
The text was updated successfully, but these errors were encountered:
Api 5.5 is here. Rejoice.
Doc note: Bots are now allowed to contact users who sent a join request to a chat where the bot is an administrator with the can_invite_users administrator right – even if the user never interacted with the bot before.
Doc note/potential shortcut: Added support for mentioning users by their ID in inline keyboards. This will only work in Telegram versions released after December 7, 2021. Older clients will display unsupported message.
New methods, nedds shortcuts at : Added the methods banChatSenderChat and unbanChatSenderChat for banning and unbanning channel chats in supergroups and channels.
Chat
addition: Added the field has_private_forwards to the class Chat for private chats, which can be used to check the possibility of mentioning the user by their ID.Chat
/Message
addition: Added the field has_protected_content to the classes Chat and Message.Message
addition: Added the field is_automatic_forward to the class Message.Evaluate if worth adding to channel post/forward method docs: Note: After this update it will become impossible to forward messages from some chats. Use the fields has_protected_content in the classes Message and Chat to check this.
Evaluate if worth adding to channel post: Note: After this update users are able to send messages on behalf of channels they own. Bots are expected to use the field sender_chat in the class Message to correctly support such messages. Edit: Decided to not add it.
The text was updated successfully, but these errors were encountered: