setDraft method

  1. @override
Future<void> setDraft({
  1. ChatMessageText? text,
  2. List<Attachment> attachments = const [],
  3. List<ChatItem> repliesTo = const [],
})
override

Updates the draft with the provided text, attachments and repliesTo.

Resets it, if the specified fields are empty or null.

Implementation

@override
Future<void> setDraft({
  ChatMessageText? text,
  List<Attachment> attachments = const [],
  List<ChatItem> repliesTo = const [],
}) async {}