Python client package for Botway.
Project description
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
...
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
botway.py-0.0.8.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file botway.py-0.0.8.tar.gz
.
File metadata
- Download URL: botway.py-0.0.8.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93dab439aba05a6c59d7a0da8c9eeb7cf308bb5aedd807f5e568b3c243f2193a |
|
MD5 | 9fe51346e0a8d2c2bb1fc9c37c5adf2c |
|
BLAKE2b-256 | f7a519a2c2deaa633417bd60eac799f1ece93b464c517e8b33e5e21d8fc1cf1c |
File details
Details for the file botway.py-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: botway.py-0.0.8-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbccf27cd4d8e2f4d13d66eba5b8f18852a5238aaf077896f2f6dee4f15c37f6 |
|
MD5 | 96164052275bf783c38161c2929632cb |
|
BLAKE2b-256 | 2dcd35169243abfa4e959ff457b2e6aca220c3ea575b3057d18461aeebdafd2d |