save_recent_sticker()

async Client.save_recent_sticker()

Save or remove a sticker from recently used stickers.

Usable by Users Bots
Parameters:
  • sticker (InputDocument) – The sticker to save or unsave.

  • attached (bool, optional) – If True, work with stickers attached to photo/video files.

  • unsave (bool, optional) – If True, remove the sticker from recent stickers.

Returns:

bool – True on success.

Example

await app.save_recent_sticker(sticker)