toggle_sticker_sets()

async Client.toggle_sticker_sets()

Install, uninstall, archive or unarchive multiple sticker sets at once.

Usable by Users Bots
Parameters:
  • sticker_sets (List of InputStickerSet) – The sticker sets to toggle.

  • uninstall (bool, optional) – If True, uninstall the sticker sets.

  • archive (bool, optional) – If True, archive the sticker sets.

  • unarchive (bool, optional) – If True, unarchive the sticker sets.

Returns:

bool – True on success.

Example

await app.toggle_sticker_sets(sticker_sets, archive=True)