Layer 220
method Users
contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool;

Parameters

Name Type Description
Category TopPeerCategory Top peer category
Peer InputPeer Peer whose rating should be reset

Returns

Bool

Possible Errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Gogram Example

// ContactsResetTopPeerRating - positional arguments
result, err := client.ContactsResetTopPeerRating(&tg.TopPeerCategory{}, &tg.InputPeerUser{UserID: int64(123456789)})
if err != nil {
    // handle error
}
// result is *tg.Bool