account.getNotifyExceptions
Returns list of chats with non-default notification settings
func (c *Client) AccountGetNotifyExceptions(ctx context.Context, request *AccountGetNotifyExceptionsRequest) (UpdatesClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AccountGetNotifyExceptions(ctx, &tg.AccountGetNotifyExceptionsRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // UpdatesClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
CompareSound | bool | — | If set, chats with non-default sound will be returned |
CompareStories | bool | — | If set, chats with non-default notification settings for stories will be returned |
Peer | InputNotifyPeerClass | — | If specified, only chats of the specified category will be returned |
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
account.getNotifyExceptions#53577479