Class TdApi.UpdateHavePendingNotifications

  • Enclosing class:
    TdApi

    public static class TdApi.UpdateHavePendingNotifications
    extends TdApi.Update
    Describes whether there are some pending notification updates. Can be used to prevent application from killing, while there are some pending notifications.
    • Field Detail

      • haveDelayedNotifications

        public boolean haveDelayedNotifications
        True, if there are some delayed notification updates, which will be sent soon.
      • haveUnreceivedNotifications

        public boolean haveUnreceivedNotifications
        True, if there can be some yet unreceived notifications, which are being fetched from the server.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UpdateHavePendingNotifications

        public UpdateHavePendingNotifications()
        Describes whether there are some pending notification updates. Can be used to prevent application from killing, while there are some pending notifications.
      • UpdateHavePendingNotifications

        public UpdateHavePendingNotifications​(boolean haveDelayedNotifications,
                                              boolean haveUnreceivedNotifications)
        Describes whether there are some pending notification updates. Can be used to prevent application from killing, while there are some pending notifications.
        Parameters:
        haveDelayedNotifications - True, if there are some delayed notification updates, which will be sent soon.
        haveUnreceivedNotifications - True, if there can be some yet unreceived notifications, which are being fetched from the server.