Module tdlight.api

Class TdApi.ScopeNotificationSettings

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

public static final class TdApi.ScopeNotificationSettings extends TdApi.Object
Contains information about notification settings for several chats.
  • Field Details

    • muteFor

      public int muteFor
      Time left before notifications will be unmuted, in seconds.
    • soundId

      public long soundId
      Identifier of the notification sound to be played; 0 if sound is disabled.
    • showPreview

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

      public boolean disablePinnedMessageNotifications
      True, if notifications for incoming pinned messages will be created as for an ordinary unread message.
    • disableMentionNotifications

      public boolean disableMentionNotifications
      True, if notifications for messages with mentions will be created as for an ordinary unread message.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ScopeNotificationSettings

      public ScopeNotificationSettings()
      Contains information about notification settings for several chats.
    • ScopeNotificationSettings

      public ScopeNotificationSettings(int muteFor, long soundId, boolean showPreview, boolean disablePinnedMessageNotifications, boolean disableMentionNotifications)
      Contains information about notification settings for several chats.
      Parameters:
      muteFor - int Time left before notifications will be unmuted, in seconds.
      soundId - long Identifier of the notification sound to be played; 0 if sound is disabled.
      showPreview - boolean True, if message content must be displayed in notifications.
      disablePinnedMessageNotifications - boolean True, if notifications for incoming pinned messages will be created as for an ordinary unread message.
      disableMentionNotifications - boolean True, if notifications for messages with mentions will be created as for an ordinary unread message.
    • ScopeNotificationSettings

      public ScopeNotificationSettings(DataInput input) throws IOException
      Contains information about notification settings for several chats.
      Throws:
      IOException
  • Method Details