
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@mini-apps/telegram-bridge
Advanced tools
TypeScript package to provide the lowest level communication layer between a mini app and the Telegram client.
The lowest level communication layer with Telegram Mini Apps.
This package provides fundamental utilities and types for developing applications on the Telegram Mini Apps platform.
While a developer can use this package alone, it's recommended to use a higher-level package like @mini-apps/telegram-sdk.
pnpm i @mini-apps/telegram-bridge
# or
npm i @mini-apps/telegram-bridge
# or
yarn add @mini-apps/telegram-bridge
Here’s a basic example of how to use this package. For more details, refer to the package complete documentation.
import { on, postEvent } from '@mini-apps/telegram-bridge';
// Show the back button, wait for it to be clicked once, then hide it.
postEvent('web_app_setup_back_button', { is_visible: true });
const off = on('back_button_pressed', () => {
postEvent('web_app_setup_back_button', { is_visible: false });
off();
});
FAQs
TypeScript package to provide the lowest level communication layer between a mini app and the Telegram client.
We found that @mini-apps/telegram-bridge demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.