toggleStickerSets method
Future<Result<Boolean> >
toggleStickerSets({
- required bool uninstall,
- required bool archive,
- required bool unarchive,
- required List<
InputStickerSetBase> stickersets,
Toggle Sticker Sets.
ID: b5052fea
.
Implementation
Future<Result<Boolean>> toggleStickerSets({
required bool uninstall,
required bool archive,
required bool unarchive,
required List<InputStickerSetBase> stickersets,
}) async {
// Preparing the request.
final request = MessagesToggleStickerSets(
uninstall: uninstall,
archive: archive,
unarchive: unarchive,
stickersets: stickersets,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}