MessageEntityBotCommand

class pyrogram.raw.types.MessageEntityBotCommand

Message entity representing a bot /command.

Constructor type of MessageEntity.

Details
  • Layer: 126

  • ID: 0x6cef8ac7

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).