aiogram/.butcher/types
Alex Root Junior c8dff11d1e
Update thumbnail type to InputFile only (#1374)
* Update thumbnail type to InputFile only

The thumbnail's type restriction has been changed in several methods and types. Previously, it accepted Union[InputFile, str], allowing both InputFile instances and strings. Now it's changed to accept only InputFile instances. This change enhances meaning of the thumbnail fields in due to Bot API accepts only InputFile instances.

* Added changelog

* Fixed typehints
2023-11-24 21:10:02 +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 Update schema 2023-03-11 17:43:01 +02:00
Chat Telegram Bot API 6.9 (#1319) 2023-09-22 17:46:57 +03:00
ChatAdministratorRights Re-generate Bot API 2023-10-29 02:15:50 +03: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 Telegram Bot API 6.9 (#1319) 2023-09-22 17:46:57 +03:00
ChatMemberUpdated Replace datetime.datetime with DateTime across codebase (#1285) 2023-08-27 17:09:56 +03:00
ChatPermissions Update schema 2023-03-11 17:43:01 +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
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
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 Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03: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 Update schema 2023-03-11 17:43:01 +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 Update API docs 2023-04-08 18:31:38 +03:00
LabeledPrice Update schema 2023-03-11 17:43:01 +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
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 Telegram Bot API 6.9 (#1319) 2023-09-22 17:46:57 +03:00
MessageAutoDeleteTimerChanged Update schema 2023-03-11 17:43:01 +02:00
MessageEntity Update schema 2023-03-11 17:43:01 +02:00
MessageId Update schema 2023-03-11 17:43:01 +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 Update schema 2023-03-11 17:43:01 +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
ReplyKeyboardMarkup Update schema 2023-03-11 17:43:01 +02:00
ReplyKeyboardRemove Update schema 2023-03-11 17:43:01 +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 Update schema 2023-03-11 17:43:01 +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
Update Re-generate Bot API 2023-10-29 02:15:50 +03:00
User Update schema 2023-03-11 17:43:01 +02:00
UserProfilePhotos Update schema 2023-03-11 17:43:01 +02:00
UserShared Update schema 2023-03-11 17:43:01 +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