MessageEntityBotCommand#

class pyrogram.raw.types.MessageEntityBotCommand#

Message entity representing a bot /command.

Constructor of MessageEntity.

Details:
  • Layer: 158

  • ID: 6CEF8AC7

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