Manage favorite stickers
manage_favorite_stickersList, add, remove, or fetch files for WhatsApp favorite stickers. Syncs the star tab with the phone.
Instructions
The account's favorite stickers: the star tab of WhatsApp's sticker picker, which WhatsApp keeps in sync with the phone. List them, get one's file, favorite a sticker from a message or an uploaded WebP file, or remove one. Adding and removing change the list on the phone too.
Actions:
list: The favorites, newest first, from what wuapi stored (no call to WhatsApp). Each hasmedia.urlandmedia.downloaded;animatedandemojisare null until its file was fetched.get_file: A direct URL to one favorite's file that needs no API key. Fetches the file from WhatsApp the first time, which needs the account ready.add: Favorite a sticker: passmessageIdoruploadId, one of them. A sticker that is a favorite already is returned as is.remove: Take a sticker out of the favorites. It can be favorited again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1 to 100. Default 20. Optional for `list`. | |
| action | Yes | What to do. See the list of actions in the tool description. | |
| cursor | No | `nextCursor` from the previous page, to get the next one. Optional for `list`. | |
| uploadId | No | A WebP file uploaded with upload_file (`mimeType: image/webp`, at most 2 MB) to favorite. Optional for `add`. | |
| accountId | No | The wuapi account id of the linked number to act as (from list_accounts). Required for every action. | |
| messageId | No | A sticker message of this account to favorite (from list_messages or a webhook). Optional for `add`. | |
| stickerId | No | A favorite sticker's id, from the `list` action. Required for `get_file`, `remove`. | |
| idempotencyKey | No | Optional. Reuse the same key when retrying this exact call: within 24 hours wuapi returns the first result instead of doing it twice. Optional for `add`. |