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>.

NameTypeDescription
chat_idstringTarget chat.
sender_idMessageSenderIdentifier of the sender of the message.
reply_toInputMessageReplyToInformation about the message or story to be replied; pass null if none.
disable_notificationboolPass true to disable notification for the message.
input_message_contentInputMessageContentThe content of the message to be added.

More details on telegram's documentation.