aiogram/.butcher/types
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
..
Animation Update schema 2023-03-11 17:43:01 +02:00
Audio Update schema 2023-03-11 17:43:01 +02:00
BotCommand Update schema 2023-03-11 17:43:01 +02:00
BotCommandScope Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
BotCommandScopeAllChatAdministrators Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
BotCommandScopeAllGroupChats Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
BotCommandScopeAllPrivateChats Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
BotCommandScopeChat Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
BotCommandScopeChatAdministrators Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
BotCommandScopeChatMember Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
BotCommandScopeDefault Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
BotDescription Update schema 2023-03-11 17:43:01 +02:00
BotName Bot API 6.7 (#1168) 2023-04-22 18:09:59 +03:00
BotShortDescription Update schema 2023-03-11 17:43:01 +02:00
CallbackGame Update schema 2023-03-11 17:43:01 +02:00
CallbackQuery Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
Chat Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ChatAdministratorRights Re-generate Bot API 2023-10-29 02:15:50 +03:00
ChatBoost Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ChatBoostRemoved Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ChatBoostSource Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ChatBoostSourceGiftCode Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ChatBoostSourceGiveaway Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ChatBoostSourcePremium Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ChatBoostUpdated Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ChatInviteLink Replace datetime.datetime with DateTime across codebase (#1285) 2023-08-27 17:09:56 +03:00
ChatJoinRequest Re-generate Bot API 2023-10-29 02:15:50 +03:00
ChatLocation Update schema 2023-03-11 17:43:01 +02:00
ChatMember Replace datetime.datetime with DateTime across codebase (#1285) 2023-08-27 17:09:56 +03:00
ChatMemberAdministrator Re-generate Bot API 2023-10-29 02:15:50 +03:00
ChatMemberBanned Telegram Bot API 6.9 (#1319) 2023-09-22 17:46:57 +03:00
ChatMemberLeft Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
ChatMemberMember Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
ChatMemberOwner Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
ChatMemberRestricted Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ChatMemberUpdated Replace datetime.datetime with DateTime across codebase (#1285) 2023-08-27 17:09:56 +03:00
ChatPermissions Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ChatPhoto Update schema 2023-03-11 17:43:01 +02:00
ChatShared Update schema 2023-03-11 17:43:01 +02:00
ChosenInlineResult Update schema 2023-03-11 17:43:01 +02:00
Contact Update schema 2023-03-11 17:43:01 +02:00
Dice Update schema 2023-03-11 17:43:01 +02:00
Document Update schema 2023-03-11 17:43:01 +02:00
EncryptedCredentials Update schema 2023-03-11 17:43:01 +02:00
EncryptedPassportElement Update schema 2023-03-11 17:43:01 +02:00
ExternalReplyInfo Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
File Update schema 2023-03-11 17:43:01 +02:00
ForceReply Update schema 2023-03-11 17:43:01 +02:00
ForumTopic Update schema 2023-03-11 17:43:01 +02:00
ForumTopicClosed Update schema 2023-03-11 17:43:01 +02:00
ForumTopicCreated Update schema 2023-03-11 17:43:01 +02:00
ForumTopicEdited Update schema 2023-03-11 17:43:01 +02:00
ForumTopicReopened Update schema 2023-03-11 17:43:01 +02:00
Game Update schema 2023-03-11 17:43:01 +02:00
GameHighScore Update schema 2023-03-11 17:43:01 +02:00
GeneralForumTopicHidden Update schema 2023-03-11 17:43:01 +02:00
GeneralForumTopicUnhidden Update schema 2023-03-11 17:43:01 +02:00
Giveaway Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
GiveawayCompleted Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
GiveawayCreated Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
GiveawayWinners Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
InaccessibleMessage Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
InlineKeyboardButton Update pydantic to V2 (#1202) 2023-07-02 15:07:19 +03:00
InlineKeyboardMarkup Update schema 2023-03-11 17:43:01 +02:00
InlineQuery Update schema 2023-03-11 17:43:01 +02:00
InlineQueryResult Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultArticle Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultAudio Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultCachedAudio Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultCachedDocument Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultCachedGif Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultCachedMpeg4Gif Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultCachedPhoto Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultCachedSticker Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultCachedVideo Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultCachedVoice Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultContact Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultDocument Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultGame Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultGif Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultLocation Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultMpeg4Gif Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultPhoto Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultsButton Telegram Bot API 6.9 (#1319) 2023-09-22 17:46:57 +03:00
InlineQueryResultVenue Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultVideo Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultVoice Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InputContactMessageContent Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InputFile Update schema 2023-03-11 17:43:01 +02:00
InputInvoiceMessageContent Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InputLocationMessageContent Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InputMedia Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InputMediaAnimation Update thumbnail type to InputFile only (#1374) 2023-11-24 21:10:02 +02:00
InputMediaAudio Update thumbnail type to InputFile only (#1374) 2023-11-24 21:10:02 +02:00
InputMediaDocument Update thumbnail type to InputFile only (#1374) 2023-11-24 21:10:02 +02:00
InputMediaPhoto Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InputMediaVideo Update thumbnail type to InputFile only (#1374) 2023-11-24 21:10:02 +02:00
InputMessageContent Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InputSticker Update API docs 2023-04-08 18:31:38 +03:00
InputTextMessageContent Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
InputVenueMessageContent Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
Invoice Update schema 2023-03-11 17:43:01 +02:00
KeyboardButton Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
KeyboardButtonPollType Update schema 2023-03-11 17:43:01 +02:00
KeyboardButtonRequestChat Update API docs 2023-04-08 18:31:38 +03:00
KeyboardButtonRequestUser Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
KeyboardButtonRequestUsers Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
LabeledPrice Update schema 2023-03-11 17:43:01 +02:00
LinkPreviewOptions Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
Location Update schema 2023-03-11 17:43:01 +02:00
LoginUrl Update schema 2023-03-11 17:43:01 +02:00
MaskPosition Update schema 2023-03-11 17:43:01 +02:00
MaybeInaccessibleMessage Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
MenuButton Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
MenuButtonCommands Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
MenuButtonDefault Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
MenuButtonWebApp Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
Message Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
MessageAutoDeleteTimerChanged Update schema 2023-03-11 17:43:01 +02:00
MessageEntity Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
MessageId Update schema 2023-03-11 17:43:01 +02:00
MessageOrigin Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
MessageOriginChannel Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
MessageOriginChat Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
MessageOriginHiddenUser Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
MessageOriginUser Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
MessageReactionCountUpdated Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
MessageReactionUpdated Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
OrderInfo Update schema 2023-03-11 17:43:01 +02:00
PassportData Update schema 2023-03-11 17:43:01 +02:00
PassportElementError Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
PassportElementErrorDataField Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
PassportElementErrorFile Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
PassportElementErrorFiles Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
PassportElementErrorFrontSide Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
PassportElementErrorReverseSide Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
PassportElementErrorSelfie Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
PassportElementErrorTranslationFile Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
PassportElementErrorTranslationFiles Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
PassportElementErrorUnspecified Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
PassportFile Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
PhotoSize Update schema 2023-03-11 17:43:01 +02:00
Poll Replace datetime.datetime with DateTime across codebase (#1285) 2023-08-27 17:09:56 +03:00
PollAnswer Bot API 6.8 (#1276) 2023-08-18 20:18:05 +03:00
PollOption Update schema 2023-03-11 17:43:01 +02:00
PreCheckoutQuery Added codegen configuration for lost shortcuts (#1244) 2023-08-02 23:28:50 +03:00
ProximityAlertTriggered Update schema 2023-03-11 17:43:01 +02:00
ReactionCount Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ReactionType Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ReactionTypeCustomEmoji Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ReactionTypeEmoji Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ReplyKeyboardMarkup Update schema 2023-03-11 17:43:01 +02:00
ReplyKeyboardRemove Update schema 2023-03-11 17:43:01 +02:00
ReplyParameters Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ResponseParameters Update schema 2023-03-11 17:43:01 +02:00
SentWebAppMessage Update schema 2023-03-11 17:43:01 +02:00
ShippingAddress Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ShippingOption Update schema 2023-03-11 17:43:01 +02:00
ShippingQuery Added codegen configuration for lost shortcuts (#1244) 2023-08-02 23:28:50 +03:00
Sticker Update schema 2023-03-11 17:43:01 +02:00
StickerSet Update schema 2023-03-11 17:43:01 +02:00
Story Bot API 6.8 (#1276) 2023-08-18 20:18:05 +03:00
SuccessfulPayment Update schema 2023-03-11 17:43:01 +02:00
SwitchInlineQueryChosenChat Bot API 6.7 (#1168) 2023-04-22 18:09:59 +03:00
TextQuote Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
Update Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
User Update schema 2023-03-11 17:43:01 +02:00
UserChatBoosts Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
UserProfilePhotos Update schema 2023-03-11 17:43:01 +02:00
UserShared Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
UsersShared Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
Venue Update schema 2023-03-11 17:43:01 +02:00
Video Update schema 2023-03-11 17:43:01 +02:00
VideoChatEnded Update schema 2023-03-11 17:43:01 +02:00
VideoChatParticipantsInvited Update schema 2023-03-11 17:43:01 +02:00
VideoChatScheduled Replace datetime.datetime with DateTime across codebase (#1285) 2023-08-27 17:09:56 +03:00
VideoChatStarted Update schema 2023-03-11 17:43:01 +02:00
VideoNote Update schema 2023-03-11 17:43:01 +02:00
Voice Update schema 2023-03-11 17:43:01 +02:00
WebAppData Update schema 2023-03-11 17:43:01 +02:00
WebAppInfo Telegram Bot API 6.9 (#1319) 2023-09-22 17:46:57 +03:00
WebhookInfo Replace datetime.datetime with DateTime across codebase (#1285) 2023-08-27 17:09:56 +03:00
WriteAccessAllowed Telegram Bot API 6.9 (#1319) 2023-09-22 17:46:57 +03:00