ChatNotificationSettings class

Contains information about notification settings for a chat or a forum topic.

Inheritance
Available Extensions

Constructors

ChatNotificationSettings({required bool use_default_mute_for, required int mute_for, required bool use_default_sound, required int64 sound_id, required bool use_default_show_preview, required bool show_preview, required bool use_default_mute_stories, required bool mute_stories, required bool use_default_story_sound, required int64 story_sound_id, required bool use_default_show_story_sender, required bool show_story_sender, required bool use_default_disable_pinned_message_notifications, required bool disable_pinned_message_notifications, required bool use_default_disable_mention_notifications, required bool disable_mention_notifications, int? extra, int? clientId})
Contains information about notification settings for a chat or a forum topic

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
disable_mention_notifications bool
If true, notifications for messages with mentions will be created as for an ordinary unread message.
read / write
disable_pinned_message_notifications bool
If true, notifications for incoming pinned messages will be created as for an ordinary unread message.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
mute_for int
Time left before notifications will be unmuted, in seconds.
read / write
mute_stories bool
True, if story notifications are disabled for the chat.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
show_preview bool
True, if message content must be displayed in notifications.
read / write
show_story_sender bool
True, if the sender of stories must be displayed in notifications.
read / write
sound_id int64
Identifier of the notification sound to be played for messages; 0 if sound is disabled. ; string representation of int, use int.parse
read / write
story_sound_id int64
Identifier of the notification sound to be played for stories; 0 if sound is disabled. ; string representation of int, use int.parse
read / write
use_default_disable_mention_notifications bool
If true, disable_mention_notifications is ignored and the value for the relevant type of chat or the forum chat is used instead.
read / write
use_default_disable_pinned_message_notifications bool
If true, disable_pinned_message_notifications is ignored and the value for the relevant type of chat or the forum chat is used instead.
read / write
use_default_mute_for bool
If true, mute_for is ignored and the value for the relevant type of chat or the forum chat is used instead.
read / write
use_default_mute_stories bool
If true, mute_stories is ignored and the value for the relevant type of chat is used instead.
read / write
use_default_show_preview bool
If true, show_preview is ignored and the value for the relevant type of chat or the forum chat is used instead.
read / write
use_default_show_story_sender bool
If true, show_story_sender is ignored and the value for the relevant type of chat is used instead.
read / write
use_default_sound bool
If true, the value for the relevant type of chat or the forum chat is used instead of sound_id.
read / write
use_default_story_sound bool
If true, the value for the relevant type of chat is used instead of story_sound_id.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) ChatNotificationSettings?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"chatNotificationSettings"