ChatLabs Aiogram Support
Установка
pip install chatlabs-aiogram-support
Необходимые переменные окружения:
BACKEND_SCHEMABACKEND_HOSTBACKEND_PORTBACKEND_SUPPORT_PATH
Добавление роутера поддержки в диспетчер:
from aiogram import Dispatcher
import support
dp = Dispatcher()
dp.include_router(support.dialog_router)
Добавление кнопки поддержки в окно:
from aiogram_dialog import Dialog, Window
from aiogram_dialog.widgets.kbd import Start
from aiogram_dialog.widgets.text import Const
import support
Dialog(
...,
Window(
...,
Start(
text=Const('Поддержка'),
id='support',
state=support.main_state,
),
...,
),
...,
)
Альтернативный вариант:
from aiogram_dialog import Dialog, Window
import support
Dialog(
...,
Window(
...,
support.SupportStartButton,
...,
),
...,
)
Metadata
Release files for chatlabs-aiogram-support 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chatlabs_aiogram_support-0.2.0.tar.gz | 4.4 kB | Without provenance | Details for chatlabs_aiogram_support-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chatlabs_aiogram_support-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for chatlabs_aiogram_support-0.2.0-py3-none-any.whl |
Total release size: 14.1 kB
Release files / chatlabs_aiogram_support-0.2.0.tar.gz
| Download URL | chatlabs_aiogram_support-0.2.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b06e73e49d2a6d096e76998b958459d54d9e39725aca9458c9ed7f30da71962
|
|
BLAKE2b-256 checksum How to use checksums |
53c8a6ddbcd42f2880df5a75b2f13262aeb43fcadfb7c53f2fc740c6027a3ce5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.7 Linux/6.11.0-1018-azure
|
Release files / chatlabs_aiogram_support-0.2.0-py3-none-any.whl
| Download URL | chatlabs_aiogram_support-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc046e0ca38db8de238c06fc89cc8880235de4d877dd57b65f018c34ec051398
|
|
BLAKE2b-256 checksum How to use checksums |
61916dbc71b89cdbc95e0ab9afe2dcff899d628cf9c9a5fdd6eabefd8cf2c0da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.7 Linux/6.11.0-1018-azure
|
Security for chatlabs-aiogram-support 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.