public static class TdApi.NotificationTypeNewMessage extends TdApi.NotificationType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Message |
message
The message.
|
boolean |
showPreview
True, if message content must be displayed in notifications.
|
| Constructor and Description |
|---|
NotificationTypeNewMessage()
New message was received.
|
NotificationTypeNewMessage(TdApi.Message message,
boolean showPreview)
New message was received.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Message message
public boolean showPreview
public static final int CONSTRUCTOR
public NotificationTypeNewMessage()
public NotificationTypeNewMessage(TdApi.Message message, boolean showPreview)
message - The message.showPreview - True, if message content must be displayed in notifications.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object