Skip to content

Releases: anorprogrammer/picogram

Hello World

21 Mar 10:18
Compare
Choose a tag to compare

Picogram Initial Release

We are excited to announce the initial release of Picogram!
Picogram is a Python library designed to creating telegram bots.

How to Get Started

To start using picogram for your Telegram bot development, follow these steps:

Installing:
Install picogram via pip:

pip install picogram

Usage:

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()

Getting Help

If you encounter any issues or have any questions, feel free to open an issue on GitHub.

Thank you for your interest in picogram, and happy telegram bot development!