The Telegram chatbot can send your own stickers as part of scenarios. To add a sticker to a bot message, attach the file with it to the appropriate block in the script editor.
Supported file formats:
- .webp — static stickers;
- .tgs — animated stickers.
If the sticker has a different format, convert it using a third-party tool. For example, use the Telegram bot @stickeroptimizerbot for conversion.
Limitations:
- You can only attach files with stickers to blocks Information and Question.
- The bot will send a sticker along with a message from the block to which it is attached.
- The maximum file size to download is 15 MB.
- Log in to personal account.
- Go to the section Bot Scripts personal account.
- Open the desired script in the editor. If you don't have one, create a new one.
- Add the Information or Question block.
- Attach the file with the sticker:
2.1. Click on the created block to open its properties.
2.2. Click in the Add files field in the Files section.
2.3. Download the sticker file from your computer.
- Save the script.
- Test the Telegram bot to make sure that the sticker is displayed correctly.