Package org.drinkless.tdlib
Class TdApi.ScopeNotificationSettings
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ScopeNotificationSettings
-
- Enclosing class:
- TdApi
public static class TdApi.ScopeNotificationSettings extends TdApi.Object
Contains information about notification settings for several chats.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.booleandisableMentionNotificationsTrue, if notifications for messages with mentions will be created as for an ordinary unread message.booleandisablePinnedMessageNotificationsTrue, if notifications for incoming pinned messages will be created as for an ordinary unread message.intmuteForTime left before notifications will be unmuted, in seconds.booleanshowPreviewTrue, if message content must be displayed in notifications.StringsoundThe name of an audio file to be used for notification sounds; only applies to iOS applications.
-
Constructor Summary
Constructors Constructor Description ScopeNotificationSettings()Contains information about notification settings for several chats.ScopeNotificationSettings(int muteFor, String sound, boolean showPreview, boolean disablePinnedMessageNotifications, boolean disableMentionNotifications)Contains information about notification settings for several chats.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
muteFor
public int muteFor
Time left before notifications will be unmuted, in seconds.
-
sound
public String sound
The name of an audio file to be used for notification sounds; only applies to iOS applications.
-
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
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScopeNotificationSettings
public ScopeNotificationSettings()
Contains information about notification settings for several chats.
-
ScopeNotificationSettings
public ScopeNotificationSettings(int muteFor, String sound, boolean showPreview, boolean disablePinnedMessageNotifications, boolean disableMentionNotifications)Contains information about notification settings for several chats.- Parameters:
muteFor- Time left before notifications will be unmuted, in seconds.sound- The name of an audio file to be used for notification sounds; only applies to iOS applications.showPreview- True, if message content must be displayed in notifications.disablePinnedMessageNotifications- True, if notifications for incoming pinned messages will be created as for an ordinary unread message.disableMentionNotifications- True, if notifications for messages with mentions will be created as for an ordinary unread message.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-