Metadata-Version: 2.4
Name: django-nublado-telegram
Version: 0.1.0
Summary: A Django app for Telegram bots.
Author: C Nublado
License-Expression: BSD-3-Clause
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: django
Requires-Dist: django-nublado-core<0.5.0,>=0.4.0
Requires-Dist: python-telegram-bot
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-django; extra == "test"
Requires-Dist: pytest-mock; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: pytest-html; extra == "test"
Requires-Dist: pytest-asyncio; extra == "test"
Requires-Dist: psycopg; extra == "test"
Requires-Dist: factory-boy; extra == "test"
Dynamic: license-file


# django-nublado-telegram

An app for Telegram bots in Django using the python-telegram-bot library.

---

## Features


---

## Installation

```bash
pip install django-nublado-telegram
```

```python
INSTALLED_APPS = [
    ...,
    "django_nublado_telegram",
]
```

---

## Models

### TelegramUser

A model for Telegram.

---

## App settings

```python
from django_nublado_translation.conf.app_settings import app_settings

app_settings.BOT_MODE
```

### Available settings

| Setting | Default |
|-------|---------|
| `BOT_MODE` | `"polling"` |

### Override

```python
DJANGO_NUBLADO_TELEGRAM = {
    "BOT_MODE": "webhook",
}
```

---

## Testing

```bash
pytest
```

Requires `pytest-django`.
