MessageEntityPre#
- class pyrogram.raw.types.MessageEntityPre#
Message entity representing a preformatted codeblock, allowing the user to specify a programming language for the codeblock.
Constructor of
MessageEntity
.- Details:
Layer:
158
ID:
73924BE0
- Parameters:
offset (
int
32-bit
) – Offset of message entity within message (in UTF-16 code units).length (
int
32-bit
) – Length of message entity within message (in UTF-16 code units).language (
str
) – Programming language of the code.