ScopeNotificationSettings
Object Hierarchy:
Description:
public class ScopeNotificationSettings :
Error
Contains information about notification settings for several chats
Content:
Properties:
- public bool disable_mention_notifications { get; set construct; }
True, if notifications for messages with mentions will be created as
for an ordinary unread message
- public bool disable_pinned_message_notifications { get; set construct; }
True, if notifications for incoming pinned messages will be created as
for an ordinary unread message
- public int32 mute_for { get; set construct; }
Time left before notifications will be unmuted, in seconds
- public bool mute_stories { get; set construct; }
True, if story notifications are disabled
- public bool show_preview { get; set construct; }
True, if message content must be displayed in notifications
- public bool show_story_poster { get; set construct; }
True, if the chat that posted a story must be displayed in
notifications
- public int64 sound_id { get; set construct; }
Identifier of the notification sound to be played; 0 if sound is
disabled
- public int64 story_sound_id { get; set construct; }
Identifier of the notification sound to be played for stories; 0 if
sound is disabled
- public bool use_default_mute_stories { get; set construct; }
If true, story notifications are received only for the first 5 chats
from topChatCategoryUsers regardless of the value of mute_stories
Creation methods:
- public ScopeNotificationSettings (int32 mute_for, int64 sound_id, bool show_preview, bool use_default_mute_stories, bool mute_stories, int64 story_sound_id, bool show_story_poster, bool disable_pinned_message_notifications, bool disable_mention_notifications)
Inherited Members:
All known members inherited from class TDLib.Error
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref