deleteDraft method

Future<EmptyResponse> deleteDraft(
  1. String channelId,
  2. String channelType, {
  3. String? parentId,
})

Deletes a draft for the given channelId of type channelType.

Optionally, pass parentId to delete the draft for a thread.

Implementation

Future<EmptyResponse> deleteDraft(
  String channelId,
  String channelType, {
  String? parentId,
}) =>
    _chatApi.message.deleteDraft(
      channelId,
      channelType,
      parentId: parentId,
    );