內容簡介
branch418 Telegram for Contact Form 7 外掛可將每一個 Contact Form 7 的提交直接轉發至 Telegram,無論是私聊、群組、超級群組主題或頻道,簡化了聯絡表單的通知流程。
【主要功能】
• 支援多個 Telegram 機器人
• 可連接多個聊天對話
• 靈活的訊息路由設定
• 自訂訊息模板
• 測試訊息功能
• 活動日誌查看
外掛標籤
開發者團隊
② 後台搜尋「branch418 Telegram for Contact Form 7」→ 直接安裝(推薦)
原文外掛簡介
B418 Telegram for Contact Form 7 relays every Contact Form 7 submission straight to Telegram — to a private chat, a group, a supergroup topic, or a channel.
Features
Multiple bots — add any number of Telegram bots; tokens are validated against the Telegram API when saved.
Multiple chats — private chats, groups, channels, and forum topics (thread IDs supported). A built-in helper detects chat IDs for you.
Flexible routing — connect any form to any bot and any number of chats. One form can notify several chats; several forms can share one chat.
Message templates — write a custom message per form using the same [field-name] tags you already use in CF7 mail, plus special tags like [all_fields], [_form_title], [_page_url], [_user_ip]. Optional Telegram HTML formatting (bold, italic, links).
Test everything — send a test message to a chat or fire a whole connection with sample data before going live.
Activity log — see recent deliveries and errors right in the dashboard.
The plugin never blocks or alters your form flow: mail is sent exactly as before, Telegram delivery runs alongside it.
Extensible by design
Developers (and the upcoming Pro add-on) can extend the plugin via hooks: b418_wp_tg_cf7_should_send, b418_wp_tg_cf7_message_text, b418_wp_tg_cf7_placeholders, b418_wp_tg_cf7_send_args, b418_wp_tg_cf7_after_send, b418_wp_tg_cf7_bootstrap_data, and more.
External services
This plugin connects to the Telegram Bot API to deliver Contact Form 7 submissions to Telegram chats, groups, and channels. This is a core feature of the plugin: without it, submissions cannot be relayed to Telegram.
It sends data to Telegram’s servers (api.telegram.org) in the following cases:
When a form is submitted and a connection routes it to a bot, the rendered message text (built from the form fields and template you configure, which may include field values, the form title, page URL, and the submitter’s IP address) is sent to the configured chat(s).
When you add or edit a bot in the admin, the bot token is sent to verify it and fetch the bot’s profile.
When you use “Detect chats” or send a test message in the admin, requests are sent to the bot to fetch recent updates or deliver the test message.
No data is sent to Telegram unless you have configured a bot and an active connection, or you explicitly trigger an admin action (saving a bot, detecting chats, sending a test).
This service is provided by Telegram: Terms of Service, Privacy Policy.
