Skip to main content

botco - Telegram bot api wrapper (WIP)

Installation

pip install botco

Quick start

from botco import Bot, Dispatcher, types
from botco.contrib.fsm import FSM

bot = Bot("token_here")
dp = Dispatcher()


@dp.message(commands="start")
def start_message(message: types.Message, bot: Bot, state: FSM):
    message.answer("Hello world!")


@dp.message()
def echo(message: types.Message):
    message.reply(message.text)
    

dp.start_polling(bot)

Metadata

Release files for botco 0.1.3

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

Source distribution (sdist)

Source distribution for botco 0.1.3
File Size Uploaded
botco-0.1.3.tar.gz 191.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for botco 0.1.3
File Interpreter ABI Platform
botco-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 401.7 kB

Release files / botco-0.1.3.tar.gz

Download URL botco-0.1.3.tar.gz
Size 191.1 kB
Tags Source
SHA-256 checksum
How to use checksums
81be6f4677f4ca7909c3d22bc7a5381ed60880b887703c8a72d77350b29a1ec1
BLAKE2b-256 checksum
How to use checksums
6e1ad54ef697919d65b2daddb8b5ab9b750a3d92e7700740756bbf0ca9858ef4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.9.7 Windows/10

Release files / botco-0.1.3-py3-none-any.whl

Download URL botco-0.1.3-py3-none-any.whl
Size 210.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee723d1591f76fa77ec538e967b6684b2b5c7b763f6ba152c231590d94e0d648
BLAKE2b-256 checksum
How to use checksums
6f2640af166fbde0e10921961990d2d761e3af3201eebbc60e033ae2545dedbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.9.7 Windows/10

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

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