UpdateUserName#

class pyrogram.raw.types.UpdateUserName#

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

Constructor of Update.

Details:
  • Layer: 158

  • ID: A7848924

Parameters:
  • user_id (int 64-bit) – User identifier.

  • first_name (str) – New first name. Corresponds to the new value of real_first_name field of the userFull constructor.

  • last_name (str) – New last name. Corresponds to the new value of real_last_name field of the userFull constructor.

  • usernames (List of Username) – Usernames.