ChatNotificationSettings¶
Contains information about notification settings for a chat or a forum topic
ChatNotificationSettings(
use_default_mute_for: Bool,
mute_for: int32,
use_default_sound: Bool,
sound_id: int64,
use_default_show_preview: Bool,
show_preview: Bool,
use_default_mute_stories: Bool,
mute_stories: Bool,
use_default_story_sound: Bool,
story_sound_id: int64,
use_default_show_story_poster: Bool,
show_story_poster: Bool,
use_default_disable_pinned_message_notifications: Bool,
disable_pinned_message_notifications: Bool,
use_default_disable_mention_notifications: Bool,
disable_mention_notifications: Bool
) → ChatNotificationSettings
use_default_mute_for¶
Bool
If true, the value for the relevant type of chat or the forum chat is used instead of mute_for
mute_for¶
int32
Time left before notifications will be unmuted, in seconds
use_default_sound¶
Bool
If true, the value for the relevant type of chat or the forum chat is used instead of sound_id
sound_id¶
int64
Identifier of the notification sound to be played for messages; 0 if sound is disabled
use_default_show_preview¶
Bool
If true, the value for the relevant type of chat or the forum chat is used instead of show_preview
show_preview¶
Bool
True, if message content must be displayed in notifications
use_default_mute_stories¶
Bool
If true, the value for the relevant type of chat is used instead of mute_stories
mute_stories¶
Bool
True, if story notifications are disabled for the chat
use_default_story_sound¶
Bool
If true, the value for the relevant type of chat is used instead of story_sound_id
story_sound_id¶
int64
Identifier of the notification sound to be played for stories; 0 if sound is disabled
use_default_show_story_poster¶
Bool
If true, the value for the relevant type of chat is used instead of show_story_poster
show_story_poster¶
Bool
True, if the chat that posted a story must be displayed in notifications
use_default_disable_pinned_message_notifications¶
Bool
If true, the value for the relevant type of chat or the forum chat is used instead of disable_pinned_message_notifications
disable_pinned_message_notifications¶
Bool
If true, notifications for incoming pinned messages will be created as for an ordinary unread message
use_default_disable_mention_notifications¶
Bool
If true, the value for the relevant type of chat or the forum chat is used instead of disable_mention_notifications
disable_mention_notifications¶
Bool
If true, notifications for messages with mentions will be created as for an ordinary unread message