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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for telegram_bottools-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e994703804c26e57cce85deb5933b27cdd0a46112a2b14df8c346f8d00022b0 |
|
MD5 | 050b9ec81e21e6dccf2b12cbabb6372f |
|
BLAKE2b-256 | 377250481187ab5fbc36f16132377b7c20a68c21e005e7eb823042551af5fa37 |