View Source ExTDLib.Method.SendMessage (ExTDLib v0.0.4)

Sends a message. Returns the sent message. Returns object_ptr<Message>.

NameTypeDescription
chat_idstringTarget chat.
message_thread_idstringIf not 0, a message thread identifier in which the message will be sent.
reply_toInputMessageReplyToInformation about the message or story to be replied; pass null if none.
optionsmessageSendOptionsOptions to be used to send the message; pass null to use default options.
reply_markupReplyMarkupMarkup for replying to the message; pass null if none; for bots only.
input_message_contentInputMessageContentThe content of the message to be sent.

More details on telegram's documentation.