public static class TdApi.Notification extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
date
Notification date.
|
int |
id
Unique persistent identifier of this notification.
|
boolean |
isSilent
True, if the notification was explicitly sent without sound.
|
TdApi.NotificationType |
type
Notification type.
|
| Constructor and Description |
|---|
Notification()
Contains information about a notification.
|
Notification(int id,
int date,
boolean isSilent,
TdApi.NotificationType type)
Contains information about a notification.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int id
public int date
public boolean isSilent
public TdApi.NotificationType type
public static final int CONSTRUCTOR
public Notification()
public Notification(int id,
int date,
boolean isSilent,
TdApi.NotificationType type)
id - Unique persistent identifier of this notification.date - Notification date.isSilent - True, if the notification was explicitly sent without sound.type - Notification type.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object