Skip to main content

Python client package for Botway.

Project description

botway.py

Python client package for Botway.


PyPI

# 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 hashes)

Uploaded Source

Built Distribution

botway.py-0.0.8-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page