UpdateUserName

class pyrogram.raw.types.UpdateUserName

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

Constructor type of Update.

Details
  • Layer: 126

  • ID: 0xa7332b73

Parameters
  • user_id (int 32-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.

  • username (str) – New username.Parameter added in Layer 18.