View Source ExTDLib.Method.SendMessage (ExTDLib v0.0.4)
Sends a message. Returns the sent message. Returns object_ptr<Message>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Target chat. |
| message_thread_id | string | If not 0, a message thread identifier in which the message will be sent. |
| reply_to | InputMessageReplyTo | Information about the message or story to be replied; pass null if none. |
| options | messageSendOptions | Options to be used to send the message; pass null to use default options. |
| reply_markup | ReplyMarkup | Markup for replying to the message; pass null if none; for bots only. |
| input_message_content | InputMessageContent | The content of the message to be sent. |
More details on telegram's documentation.