Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>UpdateUserName_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class UpdateUserName_
extends _Update_
import { UpdateUserName_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

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

Constructors

new
UpdateUserName_(params: { user_id: bigint; first_name: string; last_name: string; usernames: Array<enums.Username>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
first_name: string

New first name. Corresponds to the new value of real_first_name field of the userFull constructor.

last_name: string

New last name. Corresponds to the new value of real_last_name field of the userFull constructor.

user_id: bigint

User identifier

usernames: Array<enums.Username>

Usernames.

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc