I created a sticker set by my bot. I added there some junk images. Now I ask myself a question: How to remove a single sticker from Telegram sticker set for every user?
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
You should use @Stickers Bot, all you need to do is type
/delsticker
and follow the directions from there. As long as you are the owner of the sticker pack, it shouldn’t be a problem.Default API connection with URL:
In order for your bot to interact with your sticker pack, you must create it using the createNewStickerSet method (https://core.telegram.org/bots/api#createnewstickerset )
Send the desired sticker to your bot
Use the get Updates method (https://core.telegram.org/bots/api#getupdates).
In the response, you will get a json structure where you can take the file_id
Use deleteStickerFromSet method (https://core.telegram.org/bots/api#deletestickerfromset)
python example
Returns True on success.