ScopeNotificationSettings class
Constructors
- ScopeNotificationSettings({required int muteFor, required String sound, required bool showPreview, required bool disablePinnedMessageNotifications, required bool disableMentionNotifications, dynamic extra, int? clientId})
-
Contains information about notification settings for several chats
const
-
ScopeNotificationSettings.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
- clientId → int?
-
clientId client identifier
final
- disableMentionNotifications → bool
-
disableMentionNotifications True, if notifications for messages with mentions will be created as for an ordinary unread message
final
- disablePinnedMessageNotifications → bool
-
disablePinnedMessageNotifications True, if notifications for incoming pinned messages will be created as for an ordinary unread message
final
- extra → dynamic
-
extra callback sign
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- muteFor → int
-
muteFor Time left before notifications will be unmuted, in seconds
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showPreview → bool
-
showPreview True, if message content must be displayed in notifications
final
- sound → String
-
sound The name of an audio file to be used for notification sounds; only applies to iOS applications
final
Methods
-
copyWith(
{int? muteFor, String? sound, bool? showPreview, bool? disablePinnedMessageNotifications, bool? disableMentionNotifications, dynamic extra, int? clientId}) → ScopeNotificationSettings -
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → 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