Skip to main content

A package for sending Telegram messages

Project description

PTGB

A Fast Telegram API for Lighweight bots

Installation

To install this package, use pip:

pip install PTGB

Usage

Here is an example of how to use the package:

from PTGB.telegram import Telegram

token = 'BOT_TOJJEN' # bot token from bot father
chatid = 'CHAT_ID'  # chat id of user | group | channel

bot = Telegram(token)
bot.send_message(chatid, 'Hello, World!') # bot set message to chatid

Documentation

For more detailed information about how to use this package, please refer to the full documentation at

Contributing

We welcome contributions to this package. To contribute, please fork the repository, make your changes, and submit a pull request.

License

This package is open-sourced under the MIT license

Issues

If you encounter any issues or bugs, please open an issue in the issue tracker.

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

PTGB-0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file PTGB-0.0.1.tar.gz.

File metadata

  • Download URL: PTGB-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for PTGB-0.0.1.tar.gz
Algorithm Hash digest
SHA256 999e5ebd2952a25bd228b99c4c4dbe03db4b5d156ff62cf5bf5470cf1451d3f1
MD5 711839e3efd71839bbacfdcff65d1f32
BLAKE2b-256 63f338abf2977648375ffc6a827b8bb34f8265c16740f3c422c4609d8c69ad9a

See more details on using hashes here.

Supported by

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