Layer 227
UsernameObj
Contains information about a username.
constructor
username#b4073647 flags:# editable:flags.0?true active:flags.1?true username:string = Username;
Parameters
| Name | Type | Description |
|---|---|---|
| Editable | flags .0? true | Whether the username is editable, meaning it wasn't bought on fragment. |
| Active | flags .1? true | Whether the username is active. |
| Username | string | The username. |
Returns
UsernameGogram Example
// Creating UsernameObj constructor obj := &tg.UsernameObj{ Editable: nil, Active: nil, Username: "Hello, World!", }