Skip to main content

username

Contains information about a username.

type tg.Username struct { /* ... */ }

Fields​

NameTypeRequiredDescription
Editablebool—Whether the username is editable, meaning it wasn't bought on fragment.
Activebool—Whether the username is active.
UsernamestringyesThe username.

References​