Layer 227
MessagesEditChatParticipantRank
Edit a group participant's tag.
method
Users
Bots
messages.editChatParticipantRank#a00f32b0 peer:InputPeer participant:InputPeer rank:string = Updates;
Parameters
Returns
UpdatesGogram Example
// MessagesEditChatParticipantRank - positional arguments result, err := client.MessagesEditChatParticipantRank(&tg.InputPeerUser{UserID: int64(777000)}, &tg.InputPeerUser{UserID: int64(777000)}, "Hello, World!") if err != nil { // handle error } // result is *tg.Updates
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |