Layer 227
method Users Bots
messages.editChatParticipantRank#a00f32b0 peer:InputPeer participant:InputPeer rank:string = Updates;

Parameters

Name Type Description
Peer InputPeer The basic group/supergroup.
Participant InputPeer The participant.
Rank string The new tag.

Returns

Updates

Gogram 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.