An open API service indexing awesome lists of open source software.

https://github.com/isys35/pyteledantic

Pydantic models for Telegram Bot API
https://github.com/isys35/pyteledantic

pydantic telegram

Last synced: 5 months ago
JSON representation

Pydantic models for Telegram Bot API

Awesome Lists containing this project

README

          













Pydantic models for Telegram Bot API

Install:

```pip install pyteledantic```

How to use

FastAPI

````python
from fastapi import FastAPI
from pyteledantic.models import Update

app = FastAPI()

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