MessageEntityCode

class pyrogram.raw.types.MessageEntityCode

Message entity representing a codeblock.

Constructor of MessageEntity.

Details:
  • Layer: 194

  • ID: 28A20571

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)