ScopeNotificationSettings class

Contains information about notification settings for several chats.

Inheritance
Available Extensions

Constructors

ScopeNotificationSettings({required int mute_for, required int64 sound_id, required bool show_preview, required bool use_default_mute_stories, required bool mute_stories, required int64 story_sound_id, required bool show_story_sender, required bool disable_pinned_message_notifications, required bool disable_mention_notifications, int? extra, int? clientId})
Contains information about notification settings for several chats

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
disable_mention_notifications bool
True, if notifications for messages with mentions will be created as for an ordinary unread message.
read / write
disable_pinned_message_notifications bool
True, if 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; 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_mute_stories bool
If true, mute_stories is ignored and story notifications are received only for the first 5 chats from topChatCategoryUsers.
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) ScopeNotificationSettings?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"scopeNotificationSettings"