Raw.MessageEntityMention

Raw.MessageEntityMention

Message entity mentioning a user by @username; messageentitymentionname can also be used to mention users by their id.

messageEntityMention#fa04579d offset:int length:int = MessageEntity;
export namespace Raw {
  export class MessageEntityMention {
    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: 0xfa04579d

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)