Interface UpdateHavePendingNotifications

Describes whether there are some pending notification updates. Can be used to prevent the application from being killed while there are some pending notifications. Subtype of Update.

interface UpdateHavePendingNotifications {
    @type: "updateHavePendingNotifications";
    have_delayed_notifications?: boolean;
    have_unreceived_notifications?: boolean;
}

Properties

@type: "updateHavePendingNotifications"
have_delayed_notifications?: boolean

True, if there are some delayed notification updates, which will be sent soon.

have_unreceived_notifications?: boolean

True, if there can be some yet unreceived notifications, which are being fetched from the server.