Link Search Menu Expand Document

Constructor: messageEntityPhone

Back to constructors index

Message entity representing a phone number.

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:

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