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 details)

Uploaded Source

Built Distribution

telegram_bottools-0.1.3-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

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

Hashes for telegram_bottools-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3d69b5b1c07529d8a24798d73d11bc2bf67c0e32f8f9adb2a44a5bef7ce95a03
MD5 7fd6f8c9a298d0b0ab62918fc691e35b
BLAKE2b-256 47c64944ed4a7730eeaca332158551cc0371bcac0daf8d9d9b5137d12bdbc5d3

See more details on using hashes here.

File details

Details for the file telegram_bottools-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for telegram_bottools-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8e994703804c26e57cce85deb5933b27cdd0a46112a2b14df8c346f8d00022b0
MD5 050b9ec81e21e6dccf2b12cbabb6372f
BLAKE2b-256 377250481187ab5fbc36f16132377b7c20a68c21e005e7eb823042551af5fa37

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page