Features
Sticker sync events (#1538) The client now dispatches events when thefavoriteSticker and removeRecentSticker mutations arrive from a linked device through app state sync. Before this change, both mutations were decoded and dropped, so favoriting a sticker or clearing a recent on the phone was invisible to your handler.
Two new variants on wacore::types::events::Event:
FavoriteStickerUpdate— a sticker was favorited or unfavorited. Readaction.is_favoriteto tell the two directions apart. The action also carriesdirect_path,media_key,file_enc_sha256,mimetype,width, andheightso you can download a newly favorited sticker.RemoveRecentStickerUpdate— a sticker was removed from the recent-stickers list.action.last_sticker_sent_tsis the optional guard timestamp WhatsApp Web uses to skip newer local entries; when it isNone, the recent entry is dropped unconditionally.
filehash (base64 SHA-256 of the decrypted file) as its stable identity, the mutation timestamp, and from_full_sync so you can suppress UI notifications during the initial app state bootstrap.
Set-only, a missing filehash is skipped, a stickerAction without is_favorite is treated as malformed, and a removeRecentSticker without last_sticker_sent_ts still fires with None.