Telegram library with strict API
Project description
親分
— the extreme path
A library for building Telegram bots.
Mission
The mission of this library is to provide a strict interface for the API. By strict we mean that all types and methods in the library interface are mapped to those described in the Telegram API docs.
You won't meet any auxiliary stuff like sophisticated OOP/async patterns, obscure event loops and listeners and the kind of stuff like that.
API types are Pydantic models with strict type hints.
API methods accept params with exactly the same type and name as described in API.
Any optional field/param is marked as Optional
or None | T
. Don't be afraid of tri-state bool types.
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
Built Distribution
File details
Details for the file oyabun-2022.12.12.tar.gz
.
File metadata
- Download URL: oyabun-2022.12.12.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a912eb9427a2e2509e585e1ced0d085ac503aaf8147d5922441d853e2f87cc53 |
|
MD5 | f87b8eca1a504e8e1fb3c8684e8024ba |
|
BLAKE2b-256 | fd2eea7b8c62cad3e91c90a7457c56e23c84c18c612c3137a0f115bc29a5174c |
File details
Details for the file oyabun-2022.12.12-py3-none-any.whl
.
File metadata
- Download URL: oyabun-2022.12.12-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccb0a3474560265c9147cb14f283b650d109ab30b55740af8d259e004cb3768d |
|
MD5 | 31f1763e205c16e3a7a2a2beb421e158 |
|
BLAKE2b-256 | 53c0c7c141b5e23029d10a544baafe4b2d5c531d6f4de2fac4a8b0de38c762be |