Skip to main content

Create Telegram Bot

Telegram -> BotFather -> Type /newbot https://core.telegram.org/bots/tutorial#creating-your-command

Get Chat ID

https://api.telegram.org/botgetUpdates

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)

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.2.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file telegram_bottools-0.1.2.tar.gz.

File metadata

  • Download URL: telegram_bottools-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 4105ee42180b941cdd83a84b2a4179317643f017afdf9c23d30067cfbf234adf
MD5 42c7da75de5ca56ae23408c13ef0d74b
BLAKE2b-256 71df430b5d57f8e783e883770503ceea1c94e99e6d02539d42595c3b0cfb6bf5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: telegram_bottools-0.1.2-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

Hashes for telegram_bottools-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0d06020a3053e64460e46b1dff7fcabed748fdf50e65e0a7f7c6d38eb5c08498
MD5 b4d56a6db9e4913858d652913b882d54
BLAKE2b-256 0145232895fc7f211b194096da0af08de5ff4fa25d91dbfe1a2c1c2460e3286a

See more details on using hashes here.

Supported by

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