AddLocalMessage class

Inheritance

Constructors

AddLocalMessage({int chatId, MessageSender sender, int replyToMessageId, bool disableNotification, InputMessageContent 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
AddLocalMessage.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
chatId Target chat
read / write
disableNotification bool
disableNotification Pass true to disable notification for the message
read / write
extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inputMessageContent InputMessageContent
inputMessageContent The content of the message to be added
read / write
replyToMessageId int
replyToMessageId Identifier of the message to reply to or 0
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sender MessageSender
sender The sender sender of the message
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
'addLocalMessage'