Layer 227
constructor
messageEntityPre#73924be0 offset:int length:int language:string = 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 )
Language string Programming language of the code

Returns

MessageEntity

Gogram Example

// Creating MessageEntityPre constructor
obj := &tg.MessageEntityPre{
    Offset: 42,
    Length: 42,
    Language: "Hello, World!",
}