Telegram API Wrapper: modern, similar to Discord libraries
- Quick response
- Simplicity
- And more...
Python 3.8 or higher is required.
To install the library, you need to enter these commands into the console
# Linux/MacOS
python3 -m pip install -U Telesnake
# Windows
py -3 -m pip install -U Telesnake
Echo bot
from telesnake import Bot, Context
import os
bot = Bot(os.getenv("TOKEN"))
@bot.event
async def on_message(ctx: Context):
await ctx.send(ctx.message.content)
bot.run()
You can find more examples in the examples directory
My Website ⁕ Github Issues ⁕ Telegram API