NotificationTypeNewPushMessage class
New message was received through a push notification.
- Inheritance
-
- Object
- TlObject
- NotificationType
- NotificationTypeNewPushMessage
- Available Extensions
Constructors
- NotificationTypeNewPushMessage({required int message_id, required MessageSender sender_id, required String sender_name, required bool is_outgoing, required PushMessageContent content, int? extra, int? clientId})
- New message was received through a push notification
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- content ↔ PushMessageContent
-
Push message content.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- is_outgoing ↔ bool
-
True, if the message is outgoing.
read / write
- message_id ↔ int
-
The message identifier. The message will not be available in the chat history, but the identifier can be used in viewMessages, or as a message to reply.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sender_id ↔ MessageSender
-
Identifier of the sender of the message. Corresponding user or chat may be inaccessible.
read / write
- sender_name ↔ String
-
Name of the sender.
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) → NotificationTypeNewPushMessage? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"notificationTypeNewPushMessage"