Skip to content

addFavoriteSticker

Sahri Riza Umami edited this page Jun 22, 2018 · 3 revisions

Adds a new sticker to the list of favorite stickers.
The new sticker is added to the top of the list.
If the sticker was already in the list, it is removed from the list first.
Only stickers belonging to a sticker set can be added to this list

addFavoriteSticker(sticker)
Field Type Description
sticker InputFile Sticker file to add

Example

  • Adds a sticker which its persistent_id is CAADBQADfwMAAlACfAGaLLFhuPCP4wI to the list of favorite stickers.

    addFavoriteSticker('CAADBQADfwMAAlACfAGaLLFhuPCP4wI')

    Response:

    {
      ["@type"] = "ok"
    }  

Frequently Asked Questions
The Functions

Clone this wiki locally