• Update your profile details.

    Only pass fields that you want to change.

    Parameters

    • client: ITelegramClient
    • params: {
          bio?: string;
          firstName?: string;
          lastName?: string;
      }
      • Optionalbio?: string

        New bio (max 70 chars). Pass '' (empty string) to remove it

      • OptionalfirstName?: string

        New first name

      • OptionallastName?: string

        New last name. Pass '' (empty string) to remove it

    Returns Promise<User>