Skip to content

setName

Function · TDLib 1.8.67 · d1085f9c

Changes the first and last name of the current user

setName(
  first_name: string,
  last_name: string
) → Ok

first_name

string

The new value of the first name for the current user; 1-64 characters

last_name

string

The new value of the optional last name for the current user; 0-64 characters