V18.1.0
Adds Telegram Bot API 10.2 support and rounds out the event node's update-type list.
Changed
- Bumped
node-telegram-bot-apito^1.2.0(#473) — adds Bot API 10.2 (Ephemeral Messages, Rich Message media/blocks, Communities, subscription updates). Purely additive, no breaking changes.
Added
-
Event node dropdown now offers the update types the library emits that were previously missing, so they're selectable as first-class events:
guest_message,purchased_paid_media,managed_bot,subscription
(These were already reachable via the receiver node's "handle all updates".)
Notes
- The new Bot API 10.2 Ephemeral Message methods (
editEphemeralMessageText/editEphemeralMessageMedia/editEphemeralMessageCaption/editEphemeralMessageReplyMarkup/deleteEphemeralMessage) are reachable via thecallApiescape hatch (see README → Calling the raw Bot API). - The new send options (
receiver_user_id,callback_query_id,ephemeral_message_id) already pass throughmsg.payload.options— no change needed.
Upgrade
cd ~/.node-red
npm install node-red-contrib-telegrambot@latest
node-red-restart