SendMessage class

Sends a message. Returns the sent message.

Returns Message.

Inheritance
Available Extensions

Constructors

SendMessage({required int chat_id, required int message_thread_id, MessageReplyTo? reply_to, MessageSendOptions? options, ReplyMarkup? reply_markup, required InputMessageContent input_message_content, int? extra, int? clientId})
Sends a message. Returns the sent message

Properties

chat_id int
Target chat.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
input_message_content InputMessageContent
The content of the message to be sent.
read / write
message_thread_id int
If not 0, a message thread identifier in which the message will be sent.
read / write
options MessageSendOptions?
Options to be used to send the message; pass null to use default options.
read / write
reply_markup ReplyMarkup?
Markup for replying to the message; pass null if none; for bots only.
read / write
reply_to MessageReplyTo?
Identifier of the replied message or story; pass null if none.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) SendMessage?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"sendMessage"