Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botco

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botco

  • 0.1.3
  • PyPI
  • Socket score

Maintainers
1

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)

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc