Skip to main content

Install

pip install telegram-pay

Use

from telegram_pay import TelegramPay

async def main():
    
    client = TelegramPay(shop_id=SHOP_ID, shop_token=SHOP_TOKEN)
    subscription = await client.get_user_subscription(USER_ID, SUBSCRIPTION_ID)

    if subscription.valid:
        # User is subscribed
    else:
        # User is not subscribed

Metadata

Release files for telegram-pay 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telegram-pay 0.1.5
File Size Uploaded Provenance Actions
telegram_pay-0.1.5.tar.gz 4.0 kB Without provenance Details for telegram_pay-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for telegram-pay 0.1.5
File Interpreter ABI Platform Actions
telegram_pay-0.1.5-py3-none-any.whl Python 3 none any Details for telegram_pay-0.1.5-py3-none-any.whl

Total release size: 8.7 kB

Release files / telegram_pay-0.1.5.tar.gz

Download URL telegram_pay-0.1.5.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
925a303ab98c1720208ca27d07075e5b7419fc4c59ab1374c6d7b51f7b77a8db
BLAKE2b-256 checksum
How to use checksums
b0ea970563e8c91caf023a98bfd9983da9dbd0389530034d33be43e8db5ddca4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.3 Windows/10

Release files / telegram_pay-0.1.5-py3-none-any.whl

Download URL telegram_pay-0.1.5-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f5a3a26bc6467a5e30d11fe4b00de58ffd743f2fb6dc2fd1f41744fb1902c35
BLAKE2b-256 checksum
How to use checksums
23141812f65958c949fe387f29c77d9741e16a21949842a6ba851ec0764bfe1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.3 Windows/10

Security for telegram-pay 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page