MadelineProtoDocs/old_docs/API_docs_v14/constructors/messageEntityEmail.md

910 B

title description image
messageEntityEmail Message entity representing an <email@example.com>. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageEntityEmail

Back to constructors index

Message entity representing an email@example.com.

Attributes:

Name Type Required Description
offset int Yes Offset of message entity within message (in UTF-8 codepoints)
length int Yes Length of message entity within message (in UTF-8 codepoints)

Type: MessageEntity

Example:

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

Or, if you're into Lua:

messageEntityEmail={_='messageEntityEmail', offset=int, length=int}