reorderStickerSets method

Future<Result<Boolean>> reorderStickerSets({
  1. required bool masks,
  2. required bool emojis,
  3. required List<int> order,
})

Reorder Sticker Sets.

ID: 78337739.

Implementation

Future<Result<Boolean>> reorderStickerSets({
  required bool masks,
  required bool emojis,
  required List<int> order,
}) async {
  // Preparing the request.
  final request = MessagesReorderStickerSets(
    masks: masks,
    emojis: emojis,
    order: order,
  );

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

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