Skip to content

Commit e0768bc

Browse files
committed
Merge remote-tracking branch 'origin/bot-api-4.0' into bot-api-4.0
2 parents 6e5c696 + 948c3b3 commit e0768bc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

telegram/messageentity.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ def de_list(cls, data, bot):
8181
""":obj:`str`: 'mention'"""
8282
HASHTAG = 'hashtag'
8383
""":obj:`str`: 'hashtag'"""
84+
CASHTAG = 'cashtag'
85+
""":obj:`str`: 'cashtag'"""
86+
PHONE_NUMBER = 'phone_number'
87+
""":obj:`str`: 'phone_number'"""
8488
BOT_COMMAND = 'bot_command'
8589
""":obj:`str`: 'bot_command'"""
8690
URL = 'url'
@@ -100,6 +104,7 @@ def de_list(cls, data, bot):
100104
TEXT_MENTION = 'text_mention'
101105
""":obj:`str`: 'text_mention'"""
102106
ALL_TYPES = [
103-
MENTION, HASHTAG, BOT_COMMAND, URL, EMAIL, BOLD, ITALIC, CODE, PRE, TEXT_LINK, TEXT_MENTION
107+
MENTION, HASHTAG, CASHTAG, PHONE_NUMBER, BOT_COMMAND, URL,
108+
EMAIL, BOLD, ITALIC, CODE, PRE, TEXT_LINK, TEXT_MENTION
104109
]
105110
"""List[:obj:`str`]: List of all the types."""

0 commit comments

Comments
 (0)