UpdateServiceNotification class
A service notification from the server was received. Upon receiving this the application must show a popup with the content of the notification.
- Inheritance
- Available Extensions
Constructors
- UpdateServiceNotification({required String type, required MessageContent content, int? extra, int? clientId})
- A service notification from the server was received. Upon receiving this the application must show a popup with the content of the notification
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- content ↔ MessageContent
-
Notification content.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- type ↔ String
-
Notification type. If type begins with "AUTH_KEY_DROP_", then two buttons "Cancel" and "Log out" must be shown under notification; if user presses the second, all local data must be destroyed using Destroy method.
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) → UpdateServiceNotification? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"updateServiceNotification"