java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ScopeNotificationSettings
- Enclosing class:
- TdApi
Contains information about notification
settings for several chats.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
True, if notifications for messages with mentions will be created as for an ordinary unread message.boolean
True, if notifications for incoming pinned messages will be created as for an ordinary unread message.int
Time left before notifications will be unmuted, in seconds.boolean
True, if message content must be displayed in notifications.The name of an audio file to be used for notification sounds; only applies to iOS applications. -
Constructor Summary
ConstructorDescriptionContains 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.Contains information about notification settings for several chats. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
muteFor
public int muteForTime 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
public boolean showPreviewTrue, if message content must be displayed in notifications. -
disablePinnedMessageNotifications
public boolean disablePinnedMessageNotificationsTrue, if notifications for incoming pinned messages will be created as for an ordinary unread message. -
disableMentionNotifications
public boolean disableMentionNotificationsTrue, 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, String sound, 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.sound
- String The name of an audio file to be used for notification sounds; only applies to iOS applications.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
Contains information about notification settings for several chats.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-