plugin-icon

branch418 Telegram for Contact Form 7

作者:branch418·
Send Contact Form 7 submissions to Telegram. Multiple bots and chats, per-form routing, and fully customizable message templates.
版本
1.1.0
最后更新
Jul 12, 2026

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.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0.1
这个插件是可用的下载,适用于您的站点。