Skip to main content

TgUsers

[RU]

Что такое комнаты?

Комнаты, это понятие введено для интуитивной понятности происходящего. Пользователь (user) отправляя команду "/start" попадает в комнату по названием "start". В этой комнате может быть неограниченное количество команд и возможностей, но весьма часто требуется не одинаковые ответы бота на один и тот же вопрос.

Пример:

Существует комната "start", в которой команда "/get" означает получение "Hello TgUser". И еще одна комната, в которой "/get" означает получение фотографии космоса.

Библиотека умеет автоматически логировать отправленные сообщения создавать новых пользователей. Разграничивать их по ролям и проверять роли при входе в комнаты.

Usage example and source code:

https://github.com/drogi17/TgUsers

Metadata

Release files for tgusers 0.0.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tgusers 0.0.20
File Size Uploaded Provenance Actions
tgusers-0.0.20.tar.gz 21.6 kB Without provenance Details for tgusers-0.0.20.tar.gz

Release files / tgusers-0.0.20.tar.gz

Download URL tgusers-0.0.20.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
17708719c45ad4a74f5e50906a040eae675341e4fc0703073bd10b74e8c97f74
BLAKE2b-256 checksum
How to use checksums
d319b73c4b2bba7e2f9a7afc0e85ff59bb8d1006f18791c2bff9aceab296328f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

Security for tgusers 0.0.20

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page