Module tdlight.api

Class TdApi.Notification

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Notification
Enclosing class:
TdApi

public static final class TdApi.Notification extends TdApi.Object
Contains information about a notification.
  • Field Details

    • id

      public int id
      Unique persistent identifier of this notification.
    • date

      public int date
      Notification date.
    • isSilent

      public boolean isSilent
      True, if the notification was explicitly sent without sound.
    • type

      Notification type.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • Notification

      public Notification()
      Contains information about a notification.
    • Notification

      public Notification(int id, int date, boolean isSilent, TdApi.NotificationType type)
      Contains information about a notification.
      Parameters:
      id - int Unique persistent identifier of this notification.
      date - int Notification date.
      isSilent - boolean True, if the notification was explicitly sent without sound.
      type - NotificationType Notification type.
    • Notification

      public Notification(DataInput input) throws IOException
      Contains information about a notification.
      Throws:
      IOException
  • Method Details