Last updated:
0 purchases
botway.py 0.0.8
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
...
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.