MessageEntityType

class aiogram.enums.message_entity_type.MessageEntityType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

This object represents type of message entity

Source: https://core.telegram.org/bots/api#messageentity

MENTION = 'mention'
HASHTAG = 'hashtag'
CASHTAG = 'cashtag'
BOT_COMMAND = 'bot_command'
URL = 'url'
EMAIL = 'email'
PHONE_NUMBER = 'phone_number'
BOLD = 'bold'
ITALIC = 'italic'
UNDERLINE = 'underline'
STRIKETHROUGH = 'strikethrough'
SPOILER = 'spoiler'
BLOCKQUOTE = 'blockquote'
EXPANDABLE_BLOCKQUOTE = 'expandable_blockquote'
CODE = 'code'
PRE = 'pre'
TEXT_MENTION = 'text_mention'
CUSTOM_EMOJI = 'custom_emoji'