SendMessage class

Inheritance

Constructors

SendMessage({int chatId, int replyToMessageId, bool disableNotification, bool fromBackground, dynamic replyMarkup, dynamic inputMessageContent})
Sends a message. Returns the sent message. chatId Target chat . replyToMessageId Identifier of the message to reply to or 0. disableNotification Pass true to disable notification for the message. Not supported in secret chats . fromBackground Pass true if the message is sent from the background. replyMarkup Markup for replying to the message; for bots only . inputMessageContent The content of the message to be sent
SendMessage.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
fromBackground bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inputMessageContent ↔ dynamic
read / write
replyMarkup ↔ dynamic
read / write
replyToMessageId int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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
"sendMessage"