Layer 220
MessagesGetAdminsWithInvites
Get info about chat invites generated by admins.
method
Users
messages.getAdminsWithInvites#3920e6ef peer:InputPeer = messages.ChatAdminsWithInvites;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Chat |
Returns
messages.ChatAdminsWithInvitesPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
| 403 | CHAT_WRITE_FORBIDDEN | You can't write in this chat. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// MessagesGetAdminsWithInvites - positional arguments result, err := client.MessagesGetAdminsWithInvites(&tg.InputPeerUser{UserID: int64(123456789)}) if err != nil { // handle error } // result is *tg.MessagesChatAdminsWithInvites