A Django app for Telegram bots.
Project description
django-nublado-telegram
An app for Telegram bots in Django using the python-telegram-bot library.
Features
Installation
pip install django-nublado-telegram
INSTALLED_APPS = [
...,
"django_nublado_telegram",
]
Models
TelegramUser
A model for Telegram.
App settings
from django_nublado_translation.conf.app_settings import app_settings
app_settings.BOT_MODE
Available settings
| Setting | Default |
|---|---|
BOT_MODE |
"polling" |
Override
DJANGO_NUBLADO_TELEGRAM = {
"BOT_MODE": "webhook",
}
Testing
pytest
Requires pytest-django.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_nublado_telegram-0.1.0.tar.gz.
File metadata
- Download URL: django_nublado_telegram-0.1.0.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4e899646f13439b9e85dd0d4339e06ed21a17eb6533295debb7881448360813
|
|
| MD5 |
d9a35f5fea57066fdab3b4bd1fed516d
|
|
| BLAKE2b-256 |
53446e1fcdd614326191861f318a4f8c63e298733c64bb1ca9989c90223d7f58
|
File details
Details for the file django_nublado_telegram-0.1.0-py3-none-any.whl.
File metadata
- Download URL: django_nublado_telegram-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
227c565086b1fd75f28b44aeacb5f1320c1ba972ebc1255220729b0cf551e6b6
|
|
| MD5 |
dadcf8b0fb7f9dc25996b8d8b9bdca4a
|
|
| BLAKE2b-256 |
c2b9e3c5608c501bb38d33f53b6ccb0c06cb89d84341002d8396a7a8ab22f2c8
|