Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 414 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 414 Bytes

pythio

A library for bot development in Telegram messengers

Example

from pythio import Client
import asyncio


client = Client('YOUR_TOKEN_HERE')

async def main():
    async for message in client.on_message():
        print(message.text)
        await message.reply('Hello World!')


if __name__ == '__main__':
    asyncio.run(main())

Documents