Raw.MessageEntityMentionName

Raw.MessageEntityMentionName

Message entity representing a user mention: for creating a mention use inputmessageentitymentionname.

messageEntityMentionName#dc7b1140 offset:int length:int user_id:long = MessageEntity;
export namespace Raw {
  export class MessageEntityMentionName {
    constructor(params: { offset: number; length: number; userId: bigint }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xdc7b1140

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)

  • userId : bigint

    Identifier of the user that was mentioned