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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file telegram_bottools-0.1.3.tar.gz.
File metadata
- Download URL: telegram_bottools-0.1.3.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d69b5b1c07529d8a24798d73d11bc2bf67c0e32f8f9adb2a44a5bef7ce95a03
|
|
| MD5 |
7fd6f8c9a298d0b0ab62918fc691e35b
|
|
| BLAKE2b-256 |
47c64944ed4a7730eeaca332158551cc0371bcac0daf8d9d9b5137d12bdbc5d3
|
File details
Details for the file telegram_bottools-0.1.3-py3-none-any.whl.
File metadata
- Download URL: telegram_bottools-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e994703804c26e57cce85deb5933b27cdd0a46112a2b14df8c346f8d00022b0
|
|
| MD5 |
050b9ec81e21e6dccf2b12cbabb6372f
|
|
| BLAKE2b-256 |
377250481187ab5fbc36f16132377b7c20a68c21e005e7eb823042551af5fa37
|