getAllDrafts method

Future<Result<UpdatesBase>> getAllDrafts()

Get All Drafts.

ID: 6a3f8d65.

Implementation

Future<Result<UpdatesBase>> getAllDrafts() async {
  // Preparing the request.
  final request = MessagesGetAllDrafts();

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<UpdatesBase>();
}