add_recent_sticker()

async Client.add_recent_sticker()

Add a sticker to the list of recently used stickers. The sticker is added to the top of the list; if it was already in the list, it is moved there. Emoji stickers can’t be added to recent stickers.

Usable by Users Bots
Parameters:
  • sticker (str) – File identifier of the sticker.

  • is_attached (bool, optional) – Pass True to target the list of stickers recently attached to photo or video files. Pass False to target the list of recently sent stickers.

Returns:

bool – True, on success.