Skip to main content

Telegram library with strict API

Project description

親分

— the extreme path

A library for building Telegram bots.

shimizu no jirocho

build status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oyabun-2022.12.12.tar.gz (15.3 kB view hashes)

Uploaded Source

Built Distribution

oyabun-2022.12.12-py3-none-any.whl (17.7 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