MessageEntity
- class pyrogram.raw.base.MessageEntity
Message entities, representing styled text in a message
- Constructors:
This base type has 21 constructors available.
Message entity that can be used to create a user user mention: received mentions use the messageEntityMentionName constructor, instead.
Indicates a credit card number
Message entity representing a block quote.
Message entity representing bold text.
Message entity representing a bot /command
Message entity representing a $cashtag.
Message entity representing a codeblock.
Represents a custom emoji.
Message entity representing an email@example.com.
#hashtag message entity
Message entity representing italic text.
Message entity mentioning a user by @username; messageEntityMentionName can also be used to mention users by their ID.
Message entity representing a user mention: for creating a mention use inputMessageEntityMentionName.
Message entity representing a phone number.
Message entity representing a preformatted codeblock, allowing the user to specify a programming language for the codeblock.
Message entity representing a spoiler
Message entity representing strikethrough text.
Message entity representing a text url: for in-text urls like https://google.com use messageEntityUrl.
Message entity representing underlined text.
Unknown message entity
Message entity representing an in-text url: https://google.com; for text urls, use messageEntityTextUrl.