Package org.drinkless.tdlib
Class TdApi.UpdateHavePendingNotifications
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Update
-
- org.drinkless.tdlib.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 Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanhaveDelayedNotificationsTrue, if there are some delayed notification updates, which will be sent soon.booleanhaveUnreceivedNotificationsTrue, if there can be some yet unreceived notifications, which are being fetched from the server.
-
Constructor Summary
Constructors Constructor Description UpdateHavePendingNotifications()Describes whether there are some pending notification updates.UpdateHavePendingNotifications(boolean haveDelayedNotifications, boolean haveUnreceivedNotifications)Describes whether there are some pending notification updates.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-