Module tdlight.api

Class TdApi.NotificationTypeNewMessage

Enclosing class:
TdApi

public static final class TdApi.NotificationTypeNewMessage extends TdApi.NotificationType
New message was received.
  • Field Details

    • message

      public TdApi.Message message
      The message.
    • showPreview

      public boolean showPreview
      True, if message content must be displayed in notifications.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • NotificationTypeNewMessage

      public NotificationTypeNewMessage()
      New message was received.
    • NotificationTypeNewMessage

      public NotificationTypeNewMessage(TdApi.Message message, boolean showPreview)
      New message was received.
      Parameters:
      message - Message The message.
      showPreview - boolean True, if message content must be displayed in notifications.
    • NotificationTypeNewMessage

      public NotificationTypeNewMessage(DataInput input) throws IOException
      New message was received.
      Throws:
      IOException
  • Method Details