mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 01:06:25 +00:00
Added full support for the Bot API 9.0 (#1671)
* Added full support for the Bot API 9.0 * Bump version
This commit is contained in:
parent
25e9127db9
commit
2c2bd61551
231 changed files with 9565 additions and 389 deletions
|
|
@ -43,3 +43,4 @@ extract:
|
|||
- has_media_spoiler
|
||||
- effect_id
|
||||
- show_caption_above_media
|
||||
- paid_star_count
|
||||
|
|
|
|||
11
.butcher/enums/InputProfileType.yml
Normal file
11
.butcher/enums/InputProfileType.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: InputProfilePhotoType
|
||||
description: |
|
||||
This object represents input profile photo type
|
||||
|
||||
Source: https://core.telegram.org/bots/api#inputprofilephoto
|
||||
multi_parse:
|
||||
attribute: type
|
||||
regexp: "must be '([a-z_]+)'"
|
||||
entities:
|
||||
- InputProfilePhotoStatic
|
||||
- InputProfilePhotoAnimated
|
||||
11
.butcher/enums/InputStoryContentPhotoType.yml
Normal file
11
.butcher/enums/InputStoryContentPhotoType.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: InputStoryContentType
|
||||
description: |
|
||||
This object represents input story content photo type.
|
||||
|
||||
Source: https://core.telegram.org/bots/api#inputstorycontentphoto
|
||||
multi_parse:
|
||||
attribute: type
|
||||
regexp: "must be '([a-z_]+)'"
|
||||
entities:
|
||||
- InputStoryContentPhoto
|
||||
- InputStoryContentVideo
|
||||
11
.butcher/enums/OwnedGiftType.yml
Normal file
11
.butcher/enums/OwnedGiftType.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: OwnedGiftType
|
||||
description: |
|
||||
This object represents owned gift type
|
||||
|
||||
Source: https://core.telegram.org/bots/api#ownedgift
|
||||
multi_parse:
|
||||
attribute: type
|
||||
regexp: "'([a-z_]+)'"
|
||||
entities:
|
||||
- OwnedGiftRegular
|
||||
- OwnedGiftUnique
|
||||
14
.butcher/enums/StoryAreaTypeType.yml
Normal file
14
.butcher/enums/StoryAreaTypeType.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
name: StoryAreaTypeType
|
||||
description: |
|
||||
This object represents input profile photo type
|
||||
|
||||
Source: https://core.telegram.org/bots/api#storyareatype
|
||||
multi_parse:
|
||||
attribute: type
|
||||
regexp: "'([a-z_]+)'"
|
||||
entities:
|
||||
- StoryAreaTypeLocation
|
||||
- StoryAreaTypeSuggestedReaction
|
||||
- StoryAreaTypeLink
|
||||
- StoryAreaTypeWeather
|
||||
- StoryAreaTypeUniqueGift
|
||||
10
.butcher/enums/TransactionPartnerUserTransactionType.yml
Normal file
10
.butcher/enums/TransactionPartnerUserTransactionType.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
name: TransactionPartnerUserTransactionTypeEnum
|
||||
description: |
|
||||
This object represents type of the transaction that were made by partner user.
|
||||
|
||||
Source: https://core.telegram.org/bots/api#transactionpartneruser
|
||||
parse:
|
||||
entity: TransactionPartnerUser
|
||||
category: types
|
||||
attribute: transaction_type
|
||||
regexp: "'([a-z_]+)'"
|
||||
Loading…
Add table
Add a link
Reference in a new issue