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.long
Identifier of the notification sound to be played; 0 if sound is disabled.Notification type. -
Constructor Summary
ConstructorDescriptionContains information about a notification.Notification
(int id, int date, long soundId, 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. -
soundId
public long soundIdIdentifier of the notification sound to be played; 0 if sound is disabled. -
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.soundId
- long Identifier of the notification sound to be played; 0 if sound is disabled.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()
-