content
Notification content.
public static class TdApi.UpdateServiceNotification extends TdApi.Update
Modifier and Type | Field | Description |
---|---|---|
static int |
CONSTRUCTOR |
|
TdApi.MessageContent |
content |
Notification content.
|
String |
type |
Notification type.
|
Constructor | Description |
---|---|
UpdateServiceNotification() |
Service notification from the server.
|
UpdateServiceNotification(DataInput input) |
|
UpdateServiceNotification(String type,
TdApi.MessageContent content) |
Service notification from the server.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
int |
getConstructor() |
|
int |
hashCode() |
|
void |
serialize(DataOutput output) |
serialize, toString
type
- String 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
- MessageContent Notification content.IOException
getConstructor
in class TdApi.Object
serialize
in class TdApi.Object
IOException