Raw.MessageEntityBotCommand

Raw.MessageEntityBotCommand

Message entity representing a bot /command

messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity;
export namespace Raw {
  export class MessageEntityBotCommand {
    constructor(params: { offset: number; length: number }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x6cef8ac7

Property

  • offset : number

    Offset of message entity within message (in utf-16 code units)

  • length : number

    Length of message entity within message (in utf-16 code units)