username
Contains information about a username.
type tg.Username struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Editable | bool | — | Whether the username is editable, meaning it wasn't bought on fragment. |
Active | bool | — | Whether the username is active. |
Username | string | yes | The username. |
References
- Official documentation
- Generated Go reference
- TL definition:
username#b4073647