messageEntitySpoiler

Message entity representing a spoiler

messageEntitySpoiler#32ca960f offset:int length:int = MessageEntity;

Parameters

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

Type

MessageEntity

Related pages

Styled text with message entities

How to create styled text with message entities