MessageEntityCode

class pyrogram.raw.types.MessageEntityCode

Message entity representing a codeblock.

Constructor type of MessageEntity.

Details
  • Layer: 126

  • ID: 0x28a20571

Parameters
  • offset (int 32-bit) – Offset of message entity within message (in UTF-8 codepoints).

  • length (int 32-bit) – Length of message entity within message (in UTF-8 codepoints).