AddLocalMessage constructor

AddLocalMessage(
  1. {required int chat_id,
  2. required MessageSender sender_id,
  3. MessageReplyTo? reply_to,
  4. required bool disable_notification,
  5. required InputMessageContent input_message_content,
  6. int? extra,
  7. int? clientId}
)

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 Message

Implementation

AddLocalMessage