Skip to main content

Pydantic models for Telegram Bot API

Project description

Pydantic models for Telegram Bot API

Install:

pip install pyteledantic

How to use

FastAPI

from fastapi import FastAPI
from pyteledantic.models import Update


app = FastAPI()


@app.post("/")
async def root(update: Update):
    return update

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

pyteledantic-0.0.16.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

pyteledantic-0.0.16-py3-none-any.whl (10.5 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