aiogram/.butcher/methods
Alex Root Junior 6795b3de05
Added support for Bot API 7.0 (#1387)
* Added support for Bot API 7.0

* Fixed available tests

* Fixed text decorations

* Bot API 7.0 tests for ForwardMessages

* Bot API 7.0 tests for CopyMessages

* Bot API 7.0 tests for DeleteMessages

* Bot API 7.0 tests for GetUserChatBoosts

* Bot API 7.0 tests for SetMessageReaction

* Fixed custom_emoji attribute name

* Fixed tests

* Test parsing CallbackQuery message (inaccessible and accessible)

* Added changes description

* Bot API 7.0 tests for dispatcher handle update message_reaction

* Bot API 7.0 tests for dispatcher handle update message_reaction_count

* Bot API 7.0 tests for dispatcher handle update chat_boost

* Bot API 7.0 tests for dispatcher handle update removed_chat_boost

* fix tests: update ReactionTypeCustomEmoji custom_emoji -> custom_emoji_id

* micro fix Markdown V2 blockquote

* add tests for Markdown tools

* fix markdown test apply single entity

* add tests coverage for Message.react

* check that all messages and content types are covered for Message.content_type

* sort imports in tests (run `make reformat lint`)

* update Giveaway objects Unix time field to DateTime type

* Update Message.content_type property

* upgrade tests for message content_types and sent_copy

* Update Giveaway type generation config

* Update GiveawayWinners and PassportFile types generation configs

---------

Co-authored-by: Suren Khorenyan <surenkhorenyan@gmail.com>
2023-12-31 01:40:44 +02:00
..
addStickerToSet Update schema 2023-03-11 17:43:01 +02:00
answerCallbackQuery Update schema 2023-03-11 17:43:01 +02:00
answerInlineQuery Bot API 6.7 (#1168) 2023-04-22 18:09:59 +03:00
answerPreCheckoutQuery Update schema 2023-03-11 17:43:01 +02:00
answerShippingQuery Update schema 2023-03-11 17:43:01 +02:00
answerWebAppQuery Update schema 2023-03-11 17:43:01 +02:00
approveChatJoinRequest Update schema 2023-03-11 17:43:01 +02:00
banChatMember Telegram Bot API 6.9 (#1319) 2023-09-22 17:46:57 +03:00
banChatSenderChat Update schema 2023-03-11 17:43:01 +02:00
close Update schema 2023-03-11 17:43:01 +02:00
closeForumTopic Update schema 2023-03-11 17:43:01 +02:00
closeGeneralForumTopic Update schema 2023-03-11 17:43:01 +02:00
copyMessage Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
copyMessages Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
createChatInviteLink Update schema 2023-03-11 17:43:01 +02:00
createForumTopic Update schema 2023-03-11 17:43:01 +02:00
createInvoiceLink Update schema 2023-03-11 17:43:01 +02:00
createNewStickerSet Update schema 2023-03-11 17:43:01 +02:00
declineChatJoinRequest Update schema 2023-03-11 17:43:01 +02:00
deleteChatPhoto Update schema 2023-03-11 17:43:01 +02:00
deleteChatStickerSet Update schema 2023-03-11 17:43:01 +02:00
deleteForumTopic Update schema 2023-03-11 17:43:01 +02:00
deleteMessage Update schema 2023-03-11 17:43:01 +02:00
deleteMessages Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
deleteMyCommands Update schema 2023-03-11 17:43:01 +02:00
deleteStickerFromSet Update schema 2023-03-11 17:43:01 +02:00
deleteStickerSet Update schema 2023-03-11 17:43:01 +02:00
deleteWebhook Update schema 2023-03-11 17:43:01 +02:00
editChatInviteLink Update schema 2023-03-11 17:43:01 +02:00
editForumTopic Update schema 2023-03-11 17:43:01 +02:00
editGeneralForumTopic Update schema 2023-03-11 17:43:01 +02:00
editMessageCaption Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
editMessageLiveLocation Update schema 2023-03-11 17:43:01 +02:00
editMessageMedia Update schema 2023-03-11 17:43:01 +02:00
editMessageReplyMarkup Update schema 2023-03-11 17:43:01 +02:00
editMessageText Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
exportChatInviteLink Update schema 2023-03-11 17:43:01 +02:00
forwardMessage Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
forwardMessages Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
getChat Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
getChatAdministrators Update schema 2023-03-11 17:43:01 +02:00
getChatMember Update schema 2023-03-11 17:43:01 +02:00
getChatMemberCount Update schema 2023-03-11 17:43:01 +02:00
getChatMenuButton Update schema 2023-03-11 17:43:01 +02:00
getCustomEmojiStickers Update schema 2023-03-11 17:43:01 +02:00
getFile Update schema 2023-03-11 17:43:01 +02:00
getForumTopicIconStickers Update schema 2023-03-11 17:43:01 +02:00
getGameHighScores Update schema 2023-03-11 17:43:01 +02:00
getMe Update schema 2023-03-11 17:43:01 +02:00
getMyCommands Update schema 2023-03-11 17:43:01 +02:00
getMyDefaultAdministratorRights Update schema 2023-03-11 17:43:01 +02:00
getMyDescription Update schema 2023-03-11 17:43:01 +02:00
getMyName Bot API 6.7 (#1168) 2023-04-22 18:09:59 +03:00
getMyShortDescription Update schema 2023-03-11 17:43:01 +02:00
getStickerSet Update schema 2023-03-11 17:43:01 +02:00
getUpdates Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
getUserChatBoosts Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
getUserProfilePhotos Update schema 2023-03-11 17:43:01 +02:00
getWebhookInfo Update schema 2023-03-11 17:43:01 +02:00
hideGeneralForumTopic Update schema 2023-03-11 17:43:01 +02:00
leaveChat Update schema 2023-03-11 17:43:01 +02:00
logOut Update schema 2023-03-11 17:43:01 +02:00
pinChatMessage Update schema 2023-03-11 17:43:01 +02:00
promoteChatMember Re-generate Bot API 2023-10-29 02:15:50 +03:00
reopenForumTopic Update schema 2023-03-11 17:43:01 +02:00
reopenGeneralForumTopic Update schema 2023-03-11 17:43:01 +02:00
restrictChatMember Telegram Bot API 6.9 (#1319) 2023-09-22 17:46:57 +03:00
revokeChatInviteLink Update schema 2023-03-11 17:43:01 +02:00
sendAnimation Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendAudio Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendChatAction Update schema 2023-03-11 17:43:01 +02:00
sendContact Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendDice Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendDocument Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendGame Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendInvoice Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendLocation Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendMediaGroup Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendMessage Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendPhoto Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendPoll Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendSticker Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendVenue Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendVideo Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendVideoNote Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sendVoice Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
setChatAdministratorCustomTitle Update schema 2023-03-11 17:43:01 +02:00
setChatDescription Update schema 2023-03-11 17:43:01 +02:00
setChatMenuButton Update schema 2023-03-11 17:43:01 +02:00
setChatPermissions Update schema 2023-03-11 17:43:01 +02:00
setChatPhoto Update schema 2023-03-11 17:43:01 +02:00
setChatStickerSet Update schema 2023-03-11 17:43:01 +02:00
setChatTitle Update schema 2023-03-11 17:43:01 +02:00
setCustomEmojiStickerSetThumbnail Update schema 2023-03-11 17:43:01 +02:00
setGameScore Update schema 2023-03-11 17:43:01 +02:00
setMessageReaction Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
setMyCommands Update schema 2023-03-11 17:43:01 +02:00
setMyDefaultAdministratorRights Update schema 2023-03-11 17:43:01 +02:00
setMyDescription Update schema 2023-03-11 17:43:01 +02:00
setMyName Bot API 6.7 (#1168) 2023-04-22 18:09:59 +03:00
setMyShortDescription Update schema 2023-03-11 17:43:01 +02:00
setPassportDataErrors Update schema 2023-03-11 17:43:01 +02:00
setStickerEmojiList Update schema 2023-03-11 17:43:01 +02:00
setStickerKeywords Update schema 2023-03-11 17:43:01 +02:00
setStickerMaskPosition Update schema 2023-03-11 17:43:01 +02:00
setStickerPositionInSet Update schema 2023-03-11 17:43:01 +02:00
setStickerSetThumbnail Update schema 2023-03-11 17:43:01 +02:00
setStickerSetTitle Update schema 2023-03-11 17:43:01 +02:00
setWebhook Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
stopMessageLiveLocation Update schema 2023-03-11 17:43:01 +02:00
stopPoll Update schema 2023-03-11 17:43:01 +02:00
unbanChatMember Update schema 2023-03-11 17:43:01 +02:00
unbanChatSenderChat Update schema 2023-03-11 17:43:01 +02:00
unhideGeneralForumTopic Update schema 2023-03-11 17:43:01 +02:00
unpinAllChatMessages Update schema 2023-03-11 17:43:01 +02:00
unpinAllForumTopicMessages Update schema 2023-03-11 17:43:01 +02:00
unpinAllGeneralForumTopicMessages Bot API 6.8 (#1276) 2023-08-18 20:18:05 +03:00
unpinChatMessage Update schema 2023-03-11 17:43:01 +02:00
uploadStickerFile Update schema 2023-03-11 17:43:01 +02:00