pyrotel is a library for telegram bots.
Project description
pyrotel 0.9.2v
pyrotel is a library for telegram bots.
Install and Update:
pip install pyrotel
START:
from pyrotel import Client
import asyncio
app = Client("API_TOKEN")
async def bot():
for msg in app.on_message():
if msg.text == "/start":
app.send_message(msg.chat_id, "hello my dear.\nwelcome to my bot :)", reply_to_message_id=msg.message_id)
if __name__ == "__main__":
asyncio.run(bot())
Social Media:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyrotel-0.9.2.tar.gz
(6.8 kB
view hashes)