Raw.MessageEntityCode

Raw.MessageEntityCode

Message entity representing a codeblock.

messageEntityCode#28a20571 offset:int length:int = MessageEntity;
export namespace Raw {
  export class MessageEntityCode {
    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: 0x28a20571

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)