public static class TdApi.ScopeNotificationSettings extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
disableMentionNotifications
True, if notifications for messages with mentions will be created as for an ordinary unread message.
|
boolean |
disablePinnedMessageNotifications
True, if notifications for incoming pinned messages will be created as for an ordinary unread message.
|
int |
muteFor
Time left before notifications will be unmuted, in seconds.
|
boolean |
showPreview
True, if message content should be displayed in notifications.
|
java.lang.String |
sound
The name of an audio file to be used for notification sounds; only applies to iOS applications.
|
Constructor and Description |
---|
ScopeNotificationSettings()
Contains information about notification settings for several chats.
|
ScopeNotificationSettings(int muteFor,
java.lang.String sound,
boolean showPreview,
boolean disablePinnedMessageNotifications,
boolean disableMentionNotifications)
Contains information about notification settings for several chats.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int muteFor
public java.lang.String sound
public boolean showPreview
public boolean disablePinnedMessageNotifications
public boolean disableMentionNotifications
public static final int CONSTRUCTOR
public ScopeNotificationSettings()
public ScopeNotificationSettings(int muteFor, java.lang.String sound, boolean showPreview, boolean disablePinnedMessageNotifications, boolean disableMentionNotifications)
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 should 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.public int getConstructor()
getConstructor
in class TdApi.Object