MadelineProtoDocs/docs/API_docs/constructors/messageEntitySpoiler.md
2024-05-01 14:53:46 +02:00

966 B

title description nav_exclude image
messageEntitySpoiler Message entity representing a spoiler true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageEntitySpoiler

Back to constructors index

Message entity representing a spoiler

Attributes:

Name Type Required Description
offset int Yes Offset of message entity within message (in UTF-16 code units)
length int Yes Length of message entity within message (in UTF-16 code units)

Type: MessageEntity

Example:

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