NotificationTypeNewPushMessage class

Inheritance

Constructors

NotificationTypeNewPushMessage({int messageId, MessageSender sender, String senderName, bool isOutgoing, PushMessageContent content})
New message was received through a push notification
NotificationTypeNewPushMessage.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

content PushMessageContent
content Push message content
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isOutgoing bool
isOutgoing True, if the message is outgoing
read / write
messageId int
messageId The message identifier. The message will not be available in the chat history, but the notificationTypeNewPushMessage can be used in viewMessages, or as reply_to_message_id
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sender MessageSender
sender The sender of the message. Corresponding user or chat may be inaccessible
read / write
senderName String
senderName Name of the sender
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
'notificationTypeNewPushMessage'