small api library for telegram bot api
Project description
picogram
small api library for telegram bot api
Installation:
pip install picogram
Example:
from picogram import Bot
bot = Bot(token='your_token')
@bot.message()
def start_message(message: dict):
bot.send_message(chat_id=message['chat']['id'], text='Hello!')
if __name__ == '__main__':
bot.run_polling()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
picogram-0.0.1.tar.gz
(4.0 kB
view hashes)