add_local_message


Description:

public async Message add_local_message (int64 chat_id, MessageSender sender_id, InputMessageReplyTo reply_to, bool disable_notification, InputMessageContent input_message_content) throws TDLibError

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

Parameters:

chat_id

Target chat

sender_id

Identifier of the sender of the message

reply_to

Information about the message or story to be replied; pass null if none

disable_notification

Pass true to disable notification for the message

input_message_content

The content of the message to be added