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 initially silent.
|
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() |
toString
public 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 initially silent.type
- Notification type.public int getConstructor()
getConstructor
in class TdApi.Object