AddLocalMessage constructor

const AddLocalMessage({
  1. required int chatId,
  2. required MessageSender senderId,
  3. required int replyToMessageId,
  4. required bool disableNotification,
  5. required InputMessageContent inputMessageContent,
})

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

Implementation

const AddLocalMessage({
  required this.chatId,
  required this.senderId,
  required this.replyToMessageId,
  required this.disableNotification,
  required this.inputMessageContent,
});