Raw.InputMessageEntityMentionName

Raw.InputMessageEntityMentionName

Message entity that can be used to create a user user mention: received mentions use the messageentitymentionname constructor, instead.

inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity;
export namespace Raw {
  export class InputMessageEntityMentionName {
    constructor(params: { offset: number; length: number; userId: Raw.TypeInputUser }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x208e68c9

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 : Raw.TypeInputUser

    Identifier of the user that was mentioned