Layer 220
method Users
account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings;

Parameters

Name Type Description
Peer InputNotifyPeer Notification source

Possible Errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHANNEL_PRIVATE You haven't joined this channel/supergroup.
400 PEER_ID_INVALID The provided peer id is invalid.

Gogram Example

// AccountGetNotifySettings - positional arguments
result, err := client.AccountGetNotifySettings(&tg.InputNotifyPeer{})
if err != nil {
    // handle error
}
// result is *tg.PeerNotifySettings