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

x/mtkruto/tl/3_functions.ts>account_updateUsername_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class account_updateUsername_
extends Function_<enums.User>
import { account_updateUsername_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Changes username for the current user.

Constructors

new
account_updateUsername_(params: { username: string; })

Properties

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

username or empty string if username is to be removed
Accepted characters: a-z (case-insensitive), 0-9 and underscores.
Length: 5-32 characters.

Static Properties

__F: (params: { username: string; }) => enums.User
readonly
[name]: string
readonly
[paramDesc]: ParamDesc