TDLib v0.0.2 TDLib.Method.SendMessage View Source
Sends a message. Returns the sent message.
Returns object_ptr
| Name | Type | Description |
|---|---|---|
| chat_id | string | Target chat. |
| reply_to_message_id | string | Identifier of the message to reply to or 0. |
| disable_notification | bool | Pass true to disable notification for the message. Not supported in secret chats. |
| from_background | bool | Pass true if the message is sent from the background. |
| reply_markup | ReplyMarkup | Markup for replying to the message; for bots only. |
| input_message_content | InputMessageContent | The content of the message to be sent. |
More details on telegram’s documentation.