Skip to main content

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

django_nublado_telegram-0.1.2.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_nublado_telegram-0.1.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file django_nublado_telegram-0.1.2.tar.gz.

File metadata

  • Download URL: django_nublado_telegram-0.1.2.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for django_nublado_telegram-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c49b71d4af07b70ac560ba19f9f8012489657a3e2839df2afdad7cba1b43447b
MD5 036f0b4c9eeae88db370409ddffee1ca
BLAKE2b-256 860aad410dd5249d2b9a91614c45c68a31a291f4481d8f462474bf394e1bcd45

See more details on using hashes here.

File details

Details for the file django_nublado_telegram-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_nublado_telegram-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 916e952793a90022e17f1b50f7d4ee1789aa91e902a1bcc772ab4f0b2f9c056f
MD5 d5106189b9dfeb986dae0d02da8502c6
BLAKE2b-256 a64f95d700c1349871623ed1fc7c369602e5bdf13a474810ef6a4ba7a71d5e0f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page