Skip to main content

Telezhka

Telegram api library in python

pypi

Install

pip install --upgrade Telezhka

Simple usage

from Telezhka import Telegram
api = Telegram("883304628:ONTB4H2SAMPLEtext9m0g")

for event in api.listen():
    if "message" in event and "text" in event.message:
        if event.message.text == "/hello":
            api.sendMessage(text="Hello :)", chat_id=event.message.chat.id)

Keyboard usage

from Telezhka import Keyboard

kb = Keyboard(resize_keyboard=True)
kb.add_button(text="hello")
kb.add_line({"text": "hello2"})
# Send message with keyboard
api.sendMessage(reply_markup=kb.compile(), text="Hello", chat_id=event.message.chat.id)

Metadata

Release files for Telezhka 0.0.11

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

Source distribution (sdist)

Source distribution for Telezhka 0.0.11
File Size Uploaded Provenance Actions
Telezhka-0.0.11.tar.gz 2.6 kB Without provenance Details for Telezhka-0.0.11.tar.gz

Release files / Telezhka-0.0.11.tar.gz

Download URL Telezhka-0.0.11.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6b37a0cfc359a613a97861d8424b627b94aae4db78a918987cbad4098865a39b
BLAKE2b-256 checksum
How to use checksums
d5c3684bc5d7482ce211dd32c31398b3b2bfbb0bf643880684a676aa6a23579c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Security for Telezhka 0.0.11

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