Skip to main content

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

NameTypeRequiredDescription
CompareSoundboolIf set, chats with non-default sound will be returned
CompareStoriesboolIf set, chats with non-default notification settings for stories will be returned
PeerInputNotifyPeerClassIf specified, only chats of the specified category will be returned

Returns

UpdatesClass

References