Layer 220
UsersGetFullUser
Returns extended user info by ID.
method
Users
Bots
users.getFullUser#b60f5918 id:InputUser = users.UserFull;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | InputUser | User ID |
Returns
users.UserFullPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. |
| 400 | MSG_ID_INVALID | Invalid message ID provided. |
| 400 | USERNAME_OCCUPIED | The provided username is already occupied. |
| 400 | USER_ID_INVALID | The provided user ID is invalid. |
Gogram Example
// UsersGetFullUser - positional arguments result, err := client.UsersGetFullUser(&tg.InputUserSelf{}) if err != nil { // handle error } // result is *tg.UsersUserFull