ScopeNotificationSettings class

Contains information about notification settings for several chats

Inheritance

Constructors

ScopeNotificationSettings({String? extra, int? client_id, int32? mute_for, int64? sound_id, Bool? show_preview, Bool? disable_pinned_message_notifications, Bool? disable_mention_notifications})
ScopeNotificationSettings.fromMap(Map<String, dynamic> map)

Properties

client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
disable_mention_notifications Bool?
True, if notifications for messages with mentions will be created as for an ordinary unread message
getter/setter pair
disable_pinned_message_notifications Bool?
True, if notifications for incoming pinned messages will be created as for an ordinary unread message
getter/setter pair
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
mute_for int32?
Time left before notifications will be unmuted, in seconds
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show_preview Bool?
True, if message content must be displayed in notifications
getter/setter pair
sound_id int64?
Identifier of the notification sound to be played; 0 if sound is disabled
getter/setter pair
tdType String
JSON object type; maps to the field @type.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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