From 2.x to 3.x
The breaking changes contained in the 3.x version are all following the release 6.0 of the Telegram bot API.
Removed Methods
Telegram removed this already deprecated API calls:
getChatMembersCountreplaced bygetChatMemberCountkickChatMemberreplaced bybanChatMember
Renamed Properties
- Renamed the fields
voice_chat_scheduled,voice_chat_started,voice_chat_ended, andvoice_chat_participants_invitedtovideo_chat_scheduled,video_chat_started,video_chat_ended, andvideo_chat_participants_invitedin the classMessage. - Renamed the field
can_manage_voice_chatstocan_manage_video_chatsin the classChatMemberAdministrator
Renamed Parameters
- Renamed the parameter
can_manage_voice_chatstocan_manage_video_chatsin the methodpromoteChatMember.