Skip to content

Usernames

Type · TDLib 1.8.67 · d1085f9c

Describes usernames assigned to a user, a supergroup, or a channel

Usernames(
  active_usernames: list of string,
  disabled_usernames: list of string,
  editable_username: string,
  collectible_usernames: list of string
) → Usernames

active_usernames

list of string

List of active usernames; the first one must be shown as the primary username. The order of active usernames can be changed with reorderActiveUsernames, reorderBotActiveUsernames or reorderSupergroupActiveUsernames

disabled_usernames

list of string

List of currently disabled usernames; the username can be activated with toggleUsernameIsActive, toggleBotUsernameIsActive, or toggleSupergroupUsernameIsActive

editable_username

string

Active or disabled username, which may be changed with setUsername or setSupergroupUsername

collectible_usernames

list of string

Collectible usernames that were purchased at https://fragment.com and can be passed to getCollectibleItemInfo for more details