ChatNotificationSettings
Object Hierarchy:
Description:
public class ChatNotificationSettings :
Error
Contains information about notification settings for a chat or a forum topic
Content:
Properties:
- public bool disable_mention_notifications { get; set construct; }
If true, notifications for messages with mentions will be created as
for an ordinary unread message
- public bool disable_pinned_message_notifications { get; set construct; }
If true, 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 for the chat
- 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 for messages; 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_disable_mention_notifications { get; set construct; }
If true, the value for the relevant type of chat or the forum chat is
used instead of disable_mention_notifications
- public bool use_default_disable_pinned_message_notifications { get; set construct; }
If true, the value for the relevant type of chat or the forum chat is
used instead of disable_pinned_message_notifications
- public bool use_default_mute_for { get; set construct; }
If true, the value for the relevant type of chat or the forum chat is
used instead of mute_for
- public bool use_default_mute_stories { get; set construct; }
If true, the value for the relevant type of chat is used instead of
mute_stories
- public bool use_default_show_preview { get; set construct; }
If true, the value for the relevant type of chat or the forum chat is
used instead of show_preview
- public bool use_default_show_story_poster { get; set construct; }
If true, the value for the relevant type of chat is used instead of
show_story_poster
- public bool use_default_sound { get; set construct; }
If true, the value for the relevant type of chat or the forum chat is
used instead of sound_id
- public bool use_default_story_sound { get; set construct; }
If true, the value for the relevant type of chat is used instead of
story_sound_id
Creation methods:
- public ChatNotificationSettings (bool use_default_mute_for, int32 mute_for, bool use_default_sound, int64 sound_id, bool use_default_show_preview, bool show_preview, bool use_default_mute_stories, bool mute_stories, bool use_default_story_sound, int64 story_sound_id, bool 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)
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