AddLocalMessage class

Inheritance

Constructors

AddLocalMessage({int chatId, int senderUserId, int replyToMessageId, bool disableNotification, dynamic inputMessageContent})
Adds a local message to a chat. The message is persistent across application restarts only if the message database is used. Returns the added message. chatId Target chat . senderUserId Identifier of the user who will be shown as the sender of the message; may be 0 for channel posts. replyToMessageId Identifier of the message to reply to or 0 . disableNotification Pass true to disable notification for the message . inputMessageContent The content of the message to be added
AddLocalMessage.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
read / write
constructor String
read / write, inherited
disableNotification bool
read / write
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inputMessageContent ↔ dynamic
read / write
replyToMessageId int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
senderUserId int
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
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"addLocalMessage"