Packages

@chat-adapter/telegram

4.43.0 · 19 Oct 2026MIT206.7k / weekRepositoryHomepagenpmAtom feed

34 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 4.43.0

    19 Oct 2026

    Only updates dependencies:chat 4.43.0@chat-adapter/shared 4.43.0

  2. 4.42.0

    14 Oct 2026
    • 7d496a7: Count a reply to the bot as a mention (with mentionOnReply) in regular supergroups. The forum-topic exclusion for replies to the topic's creation message now applies only to topic messages (is_topic_message), so ordinary replies, which carry message_thread_id equal to the replied-to message's id, are no longer dropped.

  3. 4.41.1

    28 Sep 2026

    Only updates dependencies:chat 4.41.1@chat-adapter/shared 4.41.1

  4. 4.41.0

    18 Sep 2026
    • f893470: Stop cutting Telegram MarkdownV2 messages and captions at a backtick inside a link destination. Messages that fit the length limit now ship exactly as rendered, and a length cut that lands inside a link, code span, or underline now removes the incomplete entity before the ellipsis.

    • 91683e5: Wait for Telegram polling handlers to settle before advancing update offsets.

  5. 4.40.0

    5 Sep 2026
    • 043386b: Add Telegram Business mode support. Opt in via businessMode: true.

      The adapter handles business_connection, business_message, and edited_business_message updates, encodes business threads as telegram:biz:{connectionId}:{chatId}, and passes business_connection_id on outbound sends, edits, typing, file uploads, and inline-keyboard callbacks. Business threads are their own channel, slash commands route through onSlashCommand, deletes use deleteBusinessMessages, and connection state is cached in the state adapter so a revoked connection is honoured by every instance. Reactions on business threads throw a NotImplementedError, since the Bot API has no business variant of setMessageReaction.

    • 43dba3d: Skip unused plain-text conversion for rich and Markdown native draft updates. Plain-text fallback and final delivery keep their existing behavior.

  6. 4.39.0

    28 Aug 2026
    • c4a359e: require webhook verification by default with an explicit unverified opt-in

    • 26a06ca: Add mentionOnReply: when enabled, a reply to one of the bot's own messages reports isMention, so a bot in a group keeps the conversation going without the handle being repeated. Off by default, so existing mention-only bots are unaffected, and readable from TELEGRAM_MENTION_ON_REPLY. Implicit forum-topic replies and the bot's own echoed messages never count, and polling mode now retries the startup getMe lazily so a transient outage cannot leave mention detection disabled.

    • d5ebec1: Implement reply in the Telegram adapter so Thread.reply() threads the answer to its target instead of throwing NotImplementedError. The reference travels as Bot API reply_parameters and covers text, rich messages, documents, attachments and media groups; allow_sending_without_reply keeps delivery working when the target has been deleted. Malformed reply target ids are rejected before anything is sent, and a rich-message gateway that rejects reply_parameters falls back to a regular threaded send.

  7. 4.38.1

    17 Aug 2026

    Only updates dependencies:chat 4.38.1@chat-adapter/shared 4.38.1

  8. 4.38.0

    14 Aug 2026
    • 0f24cc3: Preserve normalized replied-to message context and populate it from Telegram replies.

    • 7a1150c: Add outbound-only Vercel Connect authentication for Telegram while retaining native webhook verification or polling.

    • 3bbf3ff: Use post-and-edit streaming by default and make native Telegram drafts opt-in. Streams now render the same way in every chat type; set the new nativeStreaming: true config option to restore draft previews in private chats.

      The adapter now owns the post-and-edit loop so edits stay under Telegram's per-chat rate limit. Edits are throttled to a 1100ms floor, configurable with the new streamingEditIntervalMs option, and a rate-limited final edit is retried once instead of failing the post.

  9. 4.37.0

    7 Aug 2026
    • 629e655: Combine incoming Telegram media groups into one message with ordered attachments and the shared caption.

  10. 4.36.0

    1 Aug 2026
    • 53bf73d: Preserve Telegram stable media identifiers in normalized attachment metadata and report photo attachments as JPEG.

  11. 4.35.0

    24 Jul 2026
    • 54eea71: Add an optional Telegram user allowlist via allowedUserIds or the comma-separated TELEGRAM_ALLOWED_USER_IDS environment variable.

    • 0701679: Cache the compiled bot-mention regex in isBotMentioned instead of recompiling it per message, and make the protected sleep helper accept an optional AbortSignal so stopPolling() interrupts the polling backoff delay immediately.

  12. 4.34.0

    13 Jul 2026

    Reading the note…

  13. 4.33.0

    7 Jul 2026

    Reading the note…

  14. 4.32.0

    1 Jul 2026

    Reading the note…

  15. 4.31.0

    16 Jun 2026

    Reading the note…

  16. 4.30.0

    2 Jun 2026

    Reading the note…

  17. 4.29.0

    18 May 2026

    Reading the note…

  18. 4.28.1

    8 May 2026

    Reading the note…

  19. 4.27.0

    30 Apr 2026

    Reading the note…

  20. 4.26.0

    14 Apr 2026

    Reading the note…

  21. 4.25.0

    11 Apr 2026

    Reading the note…

  22. 4.24.0

    7 Apr 2026

    Reading the note…

  23. 4.23.0

    26 Mar 2026

    Reading the note…

  24. 4.22.0

    24 Mar 2026

    Reading the note…

  25. 4.21.0

    23 Mar 2026

    Reading the note…

  26. 4.20.2

    16 Mar 2026

    Reading the note…

  27. 4.20.1

    12 Mar 2026

    Reading the note…

  28. 4.20.0

    11 Mar 2026

    Reading the note…

  29. 4.19.0

    10 Mar 2026

    Reading the note…

  30. 4.18.0

    7 Mar 2026

    Reading the note…

  31. 4.17.0

    6 Mar 2026

    Reading the note…

  32. 4.16.1

    4 Mar 2026

    Reading the note…

  33. 4.16.0

    4 Mar 2026

    Reading the note…

  34. 4.15.0

    26 Feb 2026

    Reading the note…