public static class TdApi.UpdateServiceNotification extends TdApi.Update
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.MessageContent |
content
Notification content.
|
java.lang.String |
type
Notification type.
|
| Constructor and Description |
|---|
UpdateServiceNotification()
A service notification from the server was received.
|
UpdateServiceNotification(java.lang.String type,
TdApi.MessageContent content)
A service notification from the server was received.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String type
public TdApi.MessageContent content
public static final int CONSTRUCTOR
public UpdateServiceNotification()
public UpdateServiceNotification(java.lang.String type,
TdApi.MessageContent content)
type - Notification type. If type begins with "AUTH_KEY_DROP_", then two buttons "Cancel" and "Log out" must be shown under notification; if user presses the second, all local data must be destroyed using Destroy method.content - Notification content.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object