Package it.tdlight.jni
Class TdApi.Notification
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Notification
- Enclosing class:
- TdApi
public static class TdApi.Notification extends TdApi.Object
Contains information about a notification.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
date
Notification date.int
id
Unique persistent identifier of this notification.boolean
isSilent
True, if the notification was initially silent.TdApi.NotificationType
type
Notification type. -
Constructor Summary
Constructors Constructor Description Notification()
Contains information about a notification.Notification(int id, int date, boolean isSilent, TdApi.NotificationType type)
Contains information about a notification.Notification(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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
- 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()
-