Skip to main content

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


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)

Uploaded Source

Built Distribution

picogram-0.0.1-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page