public static class TdApi.UpdateServiceNotification extends TdApi.Update
TdApi.Update.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Update