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()
Metadata
Release files for picogram 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| picogram-0.0.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| picogram-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / picogram-0.0.1.tar.gz
| Download URL | picogram-0.0.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
843542583c45bb4ba8a305fc3a04ba9a1c28759cea660170ede47cd472eb286d
|
|
BLAKE2b-256 checksum How to use checksums |
48fc386c94734666b9066d6ce8ae344465b14b1577ad022aa1291a12cad61bab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.7
|
Release files / picogram-0.0.1-py3-none-any.whl
| Download URL | picogram-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9845ea28f4cf63f3b6b1e753a4beaed04e2efcfecd449902932d1706a71c7c8a
|
|
BLAKE2b-256 checksum How to use checksums |
3c1aab8f9a17d6484690e26fcd4e609fdf1aa3e54d2aa26b634eacb62ee25dea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.7
|