Skip to main content

pyrotel is a library for telegram bots.

Project description

#pyrotel

tele-py is a library for telegram bots.

Install and Update:

pip install pyrotel

START:

from pyrotel import Client, Message

bot = Client("TOKEN")

last_update = 0

while True:
	update = bot.get_last_update()
	if update != last_update:
		msg = Message(update)
		if msg.text() == "/start":
			bot.send_message(msg.chat_id(), "wellcome to my bot.")

Social Media:

TELEGRAM
GITHUB

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

pyrotel-0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

pyrotel-0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file pyrotel-0.1.tar.gz.

File metadata

  • Download URL: pyrotel-0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0

File hashes

Hashes for pyrotel-0.1.tar.gz
Algorithm Hash digest
SHA256 5974bca12ceb37b11e9d276c2d42d0e5017186f0e14357baf21f12d5665e4724
MD5 45cc4be33898fa7b7ddb69cd7b7d454d
BLAKE2b-256 9a58b2434c623742395f5d34e5146312a990b918fc1861795156975409e27c67

See more details on using hashes here.

File details

Details for the file pyrotel-0.1-py3-none-any.whl.

File metadata

  • Download URL: pyrotel-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0

File hashes

Hashes for pyrotel-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73ad224b8b27477fea28e2e2456fa69e724a04f6f6fbebf9cfe9fd7db9ca90d0
MD5 b6a4ca01685b88432fbdd82aaf223a5b
BLAKE2b-256 684f90f08d8df0150ae4dc0e499b26776fa38ec42687f79403228ecc6e9fa0db

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 Pingdom Monitoring Sentry Error logging StatusPage Status page