java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Notification
- Enclosing class:
- TdApi
Contains information about a notification.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
Notification date.int
Unique persistent identifier of this notification.boolean
True, if the notification was initially silent.Notification type. -
Constructor Summary
ConstructorDescriptionContains information about a notification.Notification
(int id, int date, boolean isSilent, TdApi.NotificationType type) Contains information about a notification.Notification
(DataInput input) Contains information about a notification. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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 initially silent. -
type
Notification type. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
Notification
public Notification()Contains information about a notification. -
Notification
Contains information about a notification.- Parameters:
id
- int Unique persistent identifier of this notification.date
- int Notification date.isSilent
- boolean True, if the notification was initially silent.type
- NotificationType Notification type.
-
Notification
Contains information about a notification.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-