add_to_gifs()

Client.add_to_gifs()

Add a GIF to the list of saved GIFs.

Usable by Users Bots
Parameters:
  • file_id (str) – Unique identifier for the GIF.

  • unsave (bool, optional) – Whether to remove the GIF from the list of saved GIFs. Defaults to False.

Returns:

bool – True on success.

Example

await app.add_to_gifs(message.animation.file_id)