messageEntityPre

Message entity representing a preformatted codeblock, allowing the user to specify a programming language for the codeblock.

messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity;

Parameters

Name Type Description
offset int Offset of message entity within message (in UTF-8 codepoints)
length int Length of message entity within message (in UTF-8 codepoints)
language string Programming language of the code

Type

MessageEntity