mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-08-17 14:46:12 +00:00
EphemeralMessagesBot
Demonstrates Ephemeral Messages support introduced in Telegram Bot API 10.2.
Add the bot to a group and send /ephemeral. Tapping the button makes the bot send a message that only
you can see (an ephemeral message), then edit and delete it. The bot also detects incoming ephemeral
messages and replies to them ephemerally.
Launch
../gradlew :EphemeralMessagesBot:run --args="BOT_TOKEN"