SendMessage class

Inheritance

Constructors

SendMessage({int chatId, int messageThreadId, int replyToMessageId, MessageSendOptions options, ReplyMarkup replyMarkup, InputMessageContent inputMessageContent})
Sends a message. Returns the sent message
SendMessage.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
chatId Target chat
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 sent
read / write
messageThreadId int
messageThreadId If not 0, a message thread identifier in which the message will be sent
read / write
options MessageSendOptions
options Options to be used to send the message
read / write
replyMarkup ReplyMarkup
replyMarkup Markup for replying to the message; for bots only
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

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