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

Uploaded Source

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