Socket
Socket
Sign inDemoInstall

telebot7

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    telebot7

Telegram Bot API Python wrapper.


Maintainers
1

Readme

================================================================ Framework for extract data from vk.com (russian social network).

This is a Python wrapper for Telegram Bot API.

Quickstart

Install

.. code:: bash

pip install telebot7

Usage

.. code:: python

>>> from telebot7 import TeleBot
>>> from telebot7.long_polling import get_updates
>>>
>>> token = '123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11'
>>> tele_bot = TeleBot(token)
>>>
>>> print(tele_bot.getMe())
>>>
>>> def on_updates(updates):
...    print(updates)
...
>>> get_updates(tele_bot, on_updates, timeout=10)

See https://core.telegram.org/bots/api for detailed API guide.

Keywords

FAQs


Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc