botway.py
Python client package for Botway.
# pip
# Linux/macOS
pip3 install botway.py
# Windows
pip install botway.py
# pipenv
pipenv install botway.py
Usage
after creating a new python botway project, you need to use your tokens to connect with your bot.
...
from botway import GetToken
from telegram import Update, ForceReply
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters
...
def main() -> None:
"""Start the bot."""
# Create the Updater and pass it your bot's token.
updater = Updater(GetToken())
# Get the dispatcher to register handlers
dispatcher = updater.dispatcher
...
Metadata
Release files for botway.py 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| botway.py-0.0.8.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| botway.py-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / botway.py-0.0.8.tar.gz
| Download URL | botway.py-0.0.8.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93dab439aba05a6c59d7a0da8c9eeb7cf308bb5aedd807f5e568b3c243f2193a
|
|
BLAKE2b-256 checksum How to use checksums |
f7a519a2c2deaa633417bd60eac799f1ece93b464c517e8b33e5e21d8fc1cf1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / botway.py-0.0.8-py3-none-any.whl
| Download URL | botway.py-0.0.8-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cbccf27cd4d8e2f4d13d66eba5b8f18852a5238aaf077896f2f6dee4f15c37f6
|
|
BLAKE2b-256 checksum How to use checksums |
2dcd35169243abfa4e959ff457b2e6aca220c3ea575b3057d18461aeebdafd2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|