{"name":"@jennifer/telegram","description":"A Telegram Bot API client","versions":{"0.1.0":{"version":"0.1.0","kind":"git","url":"https://github.com/jennifer-language/deck-telegram.git","ref":"0.1.0","commit":"30714367d9f37bb5c4dd925d20581c704b728e56","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.26.0"},"capabilities":["net"],"keywords":["telegram","bot","chat","notifications"],"description":"A Telegram Bot API client","publishedAt":"1793614283","repoId":1442163852,"repoOwnerId":305727207,"repoOwner":"jennifer-language"}},"readme":"# @jennifer/telegram\n\n[![test](https://github.com/jennifer-language/deck-telegram/actions/workflows/test.yml/badge.svg)](https://github.com/jennifer-language/deck-telegram/actions/workflows/test.yml)\n[![Documentation](https://img.shields.io/badge/docs-github%20pages-blue)](https://jennifer-language.github.io/deck-telegram/)\n[![release](https://img.shields.io/github/v/release/jennifer-language/deck-telegram)](https://github.com/jennifer-language/deck-telegram/releases/latest)\n\nA [Telegram Bot API](https://core.telegram.org/bots/api) client for\n[Jennifer](https://jennifer-lang.dev/) programs: send messages, photos and\nfiles, attach inline keyboards, and poll for updates. Replaces the `telegram`\nmodule of Jennifer's standard library (shipped since 0.18.0, deprecated from\n0.26.0, removed in 0.28.0); the API is unchanged, only the import differs.\n\n**[Documentation](https://jennifer-language.github.io/deck-telegram/)**\n\n## Install\n\n```sh\njvc add @jennifer/telegram\n```\n\nThis vendors the deck to `vendor/jennifer/telegram/`. Without `jvc`, unpack the\n`src/` subtree of a release archive (`jennifer-telegram-\u003cversion\u003e.tar.gz`) there.\n\n## Usage\n\n```jennifer\nimport \"@jennifer/telegram/\" as telegram;\n\ndef bot as telegram.Bot init telegram.bot(os.getEnv(\"TELEGRAM_BOT_TOKEN\"));\ntelegram.sendMessage($bot, 12345678, \"deploy finished\");\n```\n\n`examples/send.j` sends a plain message and one with a URL button.\n\n## Requirements\n\nJennifer 0.26.0 or newer and network access to the Telegram Bot API. Calls need\nthe default `jennifer` binary; the stock `jennifer-tiny` has no network driver.\n\n## Development\n\n```sh\ntools/check-all.sh                   # the full gate, as CI runs it\njennifer test src/telegram_test.j      # the test overlay\ntools/check-docs.sh                  # docs against the code\ntools/pack.sh dist                   # build the release archive\n```\n\n## Licence\n\nLGPL-3.0-only, see [LICENSE](LICENSE). Copyright (C) 2026 mplx \u0026lt;mplx@jennifer-lang.dev\u0026gt;.\n\n`tools/check-headers.sh` checks every source file's SPDX header against\n`deck.toml`.\n"}