ScopeNotificationSettings class

Inheritance

Constructors

ScopeNotificationSettings({int muteFor, String sound, bool showPreview, bool disablePinnedMessageNotifications, bool disableMentionNotifications})
Contains information about notification settings for several chats
ScopeNotificationSettings.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

disableMentionNotifications bool
disableMentionNotifications True, if notifications for messages with mentions will be created as for an ordinary unread message
read / write
disablePinnedMessageNotifications bool
disablePinnedMessageNotifications True, if notifications for incoming pinned messages will be created as for an ordinary unread message
read / write
extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
muteFor int
muteFor Time left before notifications will be unmuted, in seconds
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showPreview bool
showPreview True, if message content should be displayed in notifications
read / write
sound String
sound The name of an audio file to be used for notification sounds; only applies to iOS applications
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'scopeNotificationSettings'