Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If you use either PyTelegramBotAPI, then write:
bot.send_sticker(message.chat.id, "sticker ID")
or
sticker=open("path to the sticker on the machine (for example: D:\\telebot\\stickers\\stick_name.webp )", "rb")
bot.send_sticker(message.chat.id, sticker)
1) Stickers must be an image in .webp format and have no more than 512 pixels in width and height ( if you decide to use the second method )
2) ID you can find out the sticker by sending it to @idstickerbot ( if you decide to use the first method )
Do you mean sound?
Can. Generate a record (file) on the server and send it to the user. But there is no autoplay, i.e. the user will manually start playing the sound
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question