Link Search Menu Expand Document

Constructor: messageEntityStrike

Back to constructors index

Message entity representing strikethrough text.

Attributes:

NameTypeRequiredDescription
offsetintYesOffset of message entity within message (in UTF-16 code units)
lengthintYesLength of message entity within message (in UTF-16 code units)

Type: MessageEntity

Example:

$messageEntityStrike = ['_' => 'messageEntityStrike', 'offset' => int, 'length' => int];