TextEntityTypeExt extension

on

Properties

textEntityTypeBankCardNumber TextEntityTypeBankCardNumber?
A bank card number. The getBankCardInfo method can be used to get information about the bank card
read-only
textEntityTypeBold TextEntityTypeBold?
A bold text
read-only
textEntityTypeBotCommand TextEntityTypeBotCommand?
A bot command, beginning with "/"
read-only
textEntityTypeCashtag TextEntityTypeCashtag?
A cashtag text, beginning with "$" and consisting of capital English letters (e.g., "$USD")
read-only
textEntityTypeCode TextEntityTypeCode?
Text that must be formatted as if inside a code HTML tag
read-only
textEntityTypeCustomEmoji TextEntityTypeCustomEmoji?
A custom emoji. The text behind a custom emoji must be an emoji. Only premium users can use premium custom emoji
read-only
textEntityTypeEmailAddress TextEntityTypeEmailAddress?
An email address
read-only
textEntityTypeHashtag TextEntityTypeHashtag?
A hashtag text, beginning with "#"
read-only
textEntityTypeItalic TextEntityTypeItalic?
An italic text
read-only
textEntityTypeMediaTimestamp TextEntityTypeMediaTimestamp?
A media timestamp
read-only
textEntityTypeMention TextEntityTypeMention?
A mention of a user, a supergroup, or a channel by their username
read-only
textEntityTypeMentionName TextEntityTypeMentionName?
A text shows instead of a raw mention of the user (e.g., when the user has no username)
read-only
textEntityTypePhoneNumber TextEntityTypePhoneNumber?
A phone number
read-only
textEntityTypePre TextEntityTypePre?
Text that must be formatted as if inside a pre HTML tag
read-only
textEntityTypePreCode TextEntityTypePreCode?
Text that must be formatted as if inside pre, and code HTML tags
read-only
textEntityTypeSpoiler TextEntityTypeSpoiler?
A spoiler text
read-only
textEntityTypeStrikethrough TextEntityTypeStrikethrough?
A strikethrough text
read-only
textEntityTypeTextUrl TextEntityTypeTextUrl?
A text description shown instead of a raw URL
read-only
textEntityTypeUnderline TextEntityTypeUnderline?
An underlined text
read-only
textEntityTypeUrl TextEntityTypeUrl?
An HTTP URL
read-only