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.
    • soundId

      public long soundId
      Identifier of the notification sound to be played; 0 if sound is disabled.
    • 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, long soundId, TdApi.NotificationType type)
      Contains information about a notification.
      Parameters:
      id - int Unique persistent identifier of this notification.
      date - int Notification date.
      soundId - long Identifier of the notification sound to be played; 0 if sound is disabled.
      type - NotificationType Notification type.
    • Notification

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