View Source ExTDLib.Method.AddLocalMessage (ExTDLib v0.0.4)
Adds a local message to a chat. The message is persistent across application restarts only if the message database is used. Returns the added message. Returns object_ptr<Message>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Target chat. |
| sender_id | MessageSender | Identifier of the sender of the message. |
| reply_to | InputMessageReplyTo | Information about the message or story to be replied; pass null if none. |
| disable_notification | bool | Pass true to disable notification for the message. |
| input_message_content | InputMessageContent | The content of the message to be added. |
More details on telegram's documentation.