UpdateNotificationGroup class
A list of active notifications in a notification group has changed.
- Inheritance
- Available Extensions
Constructors
-
UpdateNotificationGroup({required int notification_group_id, required NotificationGroupType type, required int chat_id, required int notification_settings_chat_id, required int64 notification_sound_id, required int total_count, required List<
Notification> added_notifications, required List<int> removed_notification_ids, int? extra, int? clientId}) - A list of active notifications in a notification group has changed
Properties
-
added_notifications
↔ List<
Notification> -
List of added group notifications, sorted by notification identifier.
read / write
- chat_id ↔ int
-
Identifier of a chat to which all notifications in the group belong.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- notification_group_id ↔ int
-
Unique notification group identifier.
read / write
- notification_settings_chat_id ↔ int
-
Chat identifier, which notification settings must be applied to the added notifications.
read / write
- notification_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 -
removed_notification_ids
↔ List<
int> -
Identifiers of removed group notifications, sorted by notification identifier.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- total_count ↔ int
-
Total number of unread notifications in the group, can be bigger than number of active notifications.
read / write
- type ↔ NotificationGroupType
-
New type of the notification group.
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) → UpdateNotificationGroup? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"updateNotificationGroup"