ScopeNotificationSettings¶
Contains information about notification settings for several chats
ScopeNotificationSettings(
mute_for: int32,
sound_id: int64,
show_preview: Bool,
use_default_mute_stories: Bool,
mute_stories: Bool,
story_sound_id: int64,
show_story_poster: Bool,
disable_pinned_message_notifications: Bool,
disable_mention_notifications: Bool
) → ScopeNotificationSettings
mute_for¶
int32
Time left before notifications will be unmuted, in seconds
sound_id¶
int64
Identifier of the notification sound to be played; 0 if sound is disabled; pass -1 to use the app-dependent default sound
show_preview¶
Bool
True, if message content must be displayed in notifications
use_default_mute_stories¶
Bool
If true, story notifications are received only for the first 5 chats from topChatCategoryUsers regardless of the value of mute_stories
mute_stories¶
Bool
True, if story notifications are disabled
story_sound_id¶
int64
Identifier of the notification sound to be played for stories; 0 if sound is disabled; pass -1 to use the app-dependent default sound
show_story_poster¶
Bool
True, if the chat that posted a story must be displayed in notifications
disable_pinned_message_notifications¶
Bool
True, if notifications for incoming pinned messages will be created as for an ordinary unread message
disable_mention_notifications¶
Bool
True, if notifications for messages with mentions will be created as for an ordinary unread message