mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added two new MessageEntity types: cashtag and phone_number.
This commit is contained in:
parent
52a4eb7226
commit
ad96efbd71
1 changed files with 4 additions and 0 deletions
|
|
@ -83,9 +83,11 @@ class MessageEntityType(helper.Helper):
|
|||
|
||||
:key: MENTION
|
||||
:key: HASHTAG
|
||||
:key: CASHTAG
|
||||
:key: BOT_COMMAND
|
||||
:key: URL
|
||||
:key: EMAIL
|
||||
:key: PHONE_NUMBER
|
||||
:key: BOLD
|
||||
:key: ITALIC
|
||||
:key: CODE
|
||||
|
|
@ -97,9 +99,11 @@ class MessageEntityType(helper.Helper):
|
|||
|
||||
MENTION = helper.Item() # mention - @username
|
||||
HASHTAG = helper.Item() # hashtag
|
||||
CASHTAG = helper.Item() # cashtag
|
||||
BOT_COMMAND = helper.Item() # bot_command
|
||||
URL = helper.Item() # url
|
||||
EMAIL = helper.Item() # email
|
||||
PHONE_NUMBER = helper.Item() # phone_number
|
||||
BOLD = helper.Item() # bold - bold text
|
||||
ITALIC = helper.Item() # italic - italic text
|
||||
CODE = helper.Item() # code - monowidth string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue