Package org.drinkless.tdlib
Class TdApi.Notification
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Notification
- Enclosing class:
- TdApi
Contains information about a notification.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intNotification date.intUnique persistent identifier of this notification.booleanTrue, if the notification was explicitly sent without sound.Notification type. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about a notification.Notification(int id, int date, boolean isSilent, TdApi.NotificationType type) Contains information about a notification. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
id
public int idUnique persistent identifier of this notification. -
date
public int dateNotification date. -
isSilent
public boolean isSilentTrue, if the notification was explicitly sent without sound. -
type
Notification type. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
Notification
public Notification()Contains information about a notification. -
Notification
Contains information about a notification.- Parameters:
id- Unique persistent identifier of this notification.date- Notification date.isSilent- True, if the notification was explicitly sent without sound.type- Notification type.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-