
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@opentag/telegram
Advanced tools
Telegram message normalization and source-thread presentation helpers for OpenTag.
Use this package to normalize Telegram bot messages into OpenTagEvent objects
and to encode or parse Telegram source-thread keys.
pnpm add @opentag/telegram
normalizeTelegramMessage: converts a Telegram message into an OpenTagEvent.encodeTelegramThreadKey: encodes bot, chat, and message coordinates for source-thread delivery.parseTelegramThreadKey: decodes a Telegram source-thread key.renderTelegramAcknowledgement: renders the Telegram acknowledgement body.renderTelegramFinalResult: renders the Telegram final result body.createTelegramSendMessagePayload: creates a Telegram Bot API sendMessage payload.import { normalizeTelegramMessage } from "@opentag/telegram";
const event = normalizeTelegramMessage({
botId: "bot_123",
botUsername: "opentag_bot",
chatId: "456",
chatType: "private",
userId: "789",
username: "alice",
text: "investigate this deploy failure",
messageId: 101,
updateId: 202,
binding: {
botId: "bot_123",
chatId: "456",
repoProvider: "github",
owner: "acme",
repo: "demo"
}
});
if (event) {
// Send the event to @opentag/client or your own OpenTag-compatible control plane.
}
Telegram thread key format is part of the source-thread identity shared by ingress and delivery. A breaking format change must update both sides atomically.
FAQs
Telegram message normalization and callback helpers for OpenTag.
We found that @opentag/telegram demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.