Package org.drinkless.tdlib
Class TdApi.NotificationTypeNewMessage
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.NotificationType
org.drinkless.tdlib.TdApi.NotificationTypeNewMessage
- Enclosing class:
- TdApi
New message was received.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The message.booleanTrue, if message content must be displayed in notifications. -
Constructor Summary
ConstructorsConstructorDescriptionNew message was received.NotificationTypeNewMessage(TdApi.Message message, boolean showPreview) New message was received. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
message
The message. -
showPreview
public boolean showPreviewTrue, if message content must be displayed in notifications. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
NotificationTypeNewMessage
public NotificationTypeNewMessage()New message was received. -
NotificationTypeNewMessage
New message was received.- Parameters:
message- The message.showPreview- True, if message content must be displayed in notifications.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-