Is there any method to send stickers using the id attribute of event.file? The documentation points out to send it using the id and the access_hash of a particular sticker set and then finally using index with sticker_set to send the sticker. Since there’s unique id for particular sticker stored in telegram servers, I was wondering if there’s any method of using that to send stickers?
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
You must send the sticker as an
InputDocument
, specifying the sticker id, access_hash and file_reference.For example, reply to "/sticker" new message: