Raw.UpdateUserName

Raw.UpdateUserName

Changes the user’s first name, last name and username.

updateUserName#a7848924 user_id:long first_name:string last_name:string usernames:Vector<Username> = Update;
export namespace Raw {
  export class UpdateUserName {
    constructor(params: {
      userId: bigint;
      firstName: string;
      lastName: string;
      usernames: Array<Raw.TypeUsername>;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xa7848924

Property

  • userId : bigint

    User identifier

  • firstName : string

    New first name. corresponds to the new value of realFirstName field of the userfull constructor.

  • lastName : string

    New last name. corresponds to the new value of realLastName field of the userfull constructor.

  • usernames : Array of Raw.TypeUsername

    Usernames.