createDraft method

Future<CreateDraftResponse> createDraft(
  1. DraftMessage draft,
  2. String channelId,
  3. String channelType
)

Creates a draft for the given channelId of type channelType.

Implementation

Future<CreateDraftResponse> createDraft(
  DraftMessage draft,
  String channelId,
  String channelType,
) => _chatApi.message.createDraft(
  channelId,
  channelType,
  draft,
);