Synced with Max Bot API schema 0.0.33.
- Added
edit_my_commands(PATCH /me/commands);set_my_commandsanddelete_my_commandsnow use it instead ofPATCH /me. - Added
add_chat_adminsandremove_chat_admin. - Added comment methods:
get_comments,get_comment,send_comment,edit_comment,delete_comment(api.raw.comments). - Added
get_video_info(GET /videos/{videoToken}). - Added
ContactAttachment,InlineKeyboardAttachmentandButtonbuilders; attachment objects now serialize to JSON without an explicitto_h. - Added
limittopoll_updates; an emptytypeslist is no longer sent. - Fixed
remove_chat_member:user_idandblockare sent as query parameters, as the schema requires. - Fixed
get_message, which raisedArgumentError. - Fixed
answer_on_callback:disable_link_previewis sent as a query parameter. falsequery values are now sent asfalseinstead of being dropped.- Sending a message is retried at most 3 times on
attachment.not.ready, with exponential backoff. delete_messageno longer accepts extra options (they raisedArgumentError).- Deprecated
edit_my_info,get_all_chats,get_chat_by_linkandadd_chat_members: their endpoints are removed from the API or absent from the schema.