Skip to main content

Telegram Bot Tools

Project description

Create Telegram Bot

Telegram -> BotFather -> Type /newbot

https://core.telegram.org/bots/tutorial#creating-your-command

Get Chat ID

https://api.telegram.org/botXXXX:YYYYY/getUpdates

Install

pip install telegram-bottools

Config

bot_config = (chatid, token)

Quick Start

from telegram_bottools import telegram_bottools as bot


bot_config = (-11111111, 'xxxxxx:yyyyyyyyyyy')
message = 'Hello World!'

bot.send_message(*bot_config, message)

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

telegram_bottools-0.1.3.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

telegram_bottools-0.1.3-py3-none-any.whl (2.1 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