AddLocalMessage constructor
const
AddLocalMessage({
- required int chatId,
- required MessageSender senderId,
- required int replyToMessageId,
- required bool disableNotification,
- 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,
});