{"id":338578,"date":"2026-07-12T10:38:46","date_gmt":"2026-07-12T10:38:46","guid":{"rendered":"https:\/\/uk.wordpress.org\/plugins\/b418-telegram-for-contact-form-7\/"},"modified":"2026-07-12T10:38:10","modified_gmt":"2026-07-12T10:38:10","slug":"b418-tg-cf7","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/b418-tg-cf7\/","author":23425334,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"7.0.1","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"branch418 Telegram for Contact Form 7","header_author":"branch418","header_description":"Sends Contact Form 7 submissions to Telegram. Connect multiple bots and chats, route any form to any chat, and customize the message per form with templates.","assets_banners_color":"","last_updated":"2026-07-12 10:38:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/branch418.dev\/plugins\/wp-tg-cf7","header_author_uri":"https:\/\/branch418.dev","rating":0,"author_block_rating":0,"active_installs":0,"downloads":35,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"branch418","date":"2026-07-12 10:38:10"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3605024,"resolution":"1","location":"assets","locale":"","width":650,"height":650},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3605024,"resolution":"2","location":"assets","locale":"","width":650,"height":650},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3605024,"resolution":"3","location":"assets","locale":"","width":650,"height":650},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3605024,"resolution":"4","location":"assets","locale":"","width":650,"height":650}},"screenshots":[]},"plugin_section":[],"plugin_tags":[5445,1152,601,4906,9171],"plugin_category":[42],"plugin_contributors":[271198],"plugin_business_model":[],"class_list":["post-338578","plugin","type-plugin","status-publish","hentry","plugin_tags-cf7","plugin_tags-contact-form-7","plugin_tags-forms","plugin_tags-notifications","plugin_tags-telegram","plugin_category-contact-forms","plugin_contributors-branch418","plugin_committers-branch418"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/b418-tg-cf7.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/b418-tg-cf7\/assets\/screenshot-1.png?rev=3605024","caption":""},{"src":"https:\/\/ps.w.org\/b418-tg-cf7\/assets\/screenshot-2.png?rev=3605024","caption":""},{"src":"https:\/\/ps.w.org\/b418-tg-cf7\/assets\/screenshot-3.png?rev=3605024","caption":""},{"src":"https:\/\/ps.w.org\/b418-tg-cf7\/assets\/screenshot-4.png?rev=3605024","caption":""}],"raw_content":"<!--section=description-->\n<p>B418 Telegram for Contact Form 7 relays every Contact Form 7 submission straight to Telegram \u2014 to a private chat, a group, a supergroup topic, or a channel.<\/p>\n\n<p><strong>Features<\/strong><\/p>\n\n<ul>\n<li><strong>Multiple bots<\/strong> \u2014 add any number of Telegram bots; tokens are validated against the Telegram API when saved.<\/li>\n<li><strong>Multiple chats<\/strong> \u2014 private chats, groups, channels, and forum topics (thread IDs supported). A built-in helper detects chat IDs for you.<\/li>\n<li><strong>Flexible routing<\/strong> \u2014 connect any form to any bot and any number of chats. One form can notify several chats; several forms can share one chat.<\/li>\n<li><strong>Message templates<\/strong> \u2014 write a custom message per form using the same <code>[field-name]<\/code> tags you already use in CF7 mail, plus special tags like <code>[all_fields]<\/code>, <code>[_form_title]<\/code>, <code>[_page_url]<\/code>, <code>[_user_ip]<\/code>. Optional Telegram HTML formatting (bold, italic, links).<\/li>\n<li><strong>Test everything<\/strong> \u2014 send a test message to a chat or fire a whole connection with sample data before going live.<\/li>\n<li><strong>Activity log<\/strong> \u2014 see recent deliveries and errors right in the dashboard.<\/li>\n<\/ul>\n\n<p>The plugin never blocks or alters your form flow: mail is sent exactly as before, Telegram delivery runs alongside it.<\/p>\n\n<p><strong>Extensible by design<\/strong><\/p>\n\n<p>Developers (and the upcoming Pro add-on) can extend the plugin via hooks: <code>b418_wp_tg_cf7_should_send<\/code>, <code>b418_wp_tg_cf7_message_text<\/code>, <code>b418_wp_tg_cf7_placeholders<\/code>, <code>b418_wp_tg_cf7_send_args<\/code>, <code>b418_wp_tg_cf7_after_send<\/code>, <code>b418_wp_tg_cf7_bootstrap_data<\/code>, and more.<\/p>\n\n<h3>External services<\/h3>\n\n<p>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.<\/p>\n\n<p>It sends data to Telegram's servers (api.telegram.org) in the following cases:<\/p>\n\n<ul>\n<li>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).<\/li>\n<li>When you add or edit a bot in the admin, the bot token is sent to verify it and fetch the bot's profile.<\/li>\n<li>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.<\/li>\n<\/ul>\n\n<p>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).<\/p>\n\n<p>This service is provided by Telegram: <a href=\"https:\/\/telegram.org\/tos\">Terms of Service<\/a>, <a href=\"https:\/\/telegram.org\/privacy\">Privacy Policy<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate Contact Form 7.<\/li>\n<li>Install and activate this plugin.<\/li>\n<li>Open <strong>CF7 Telegram<\/strong> in the admin menu.<\/li>\n<li>Add a bot: create one with <a href=\"https:\/\/t.me\/BotFather\">@BotFather<\/a> and paste its token.<\/li>\n<li>Add a chat: invite the bot to your group\/channel (or start a private chat with it), then use \u201cDetect chats\u201d or enter the chat ID manually.<\/li>\n<li>Create a connection: pick a form, a bot, one or more chats, and (optionally) a template. Done \u2014 submissions now land in Telegram.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20do%20i%20get%20a%20bot%20token%3F\"><h3>Where do I get a bot token?<\/h3><\/dt>\n<dd><p>Message <a href=\"https:\/\/t.me\/BotFather\">@BotFather<\/a> on Telegram, send <code>\/newbot<\/code>, and follow the prompts. BotFather replies with the token.<\/p><\/dd>\n<dt id=\"how%20do%20i%20find%20my%20chat%20id%3F\"><h3>How do I find my chat ID?<\/h3><\/dt>\n<dd><p>Add your bot to the chat (for channels: as an administrator) and send any message there. Then, in <strong>Bots &amp; Chats \u2192 Detect chats<\/strong>, pick the bot \u2014 the plugin lists every chat the bot has recently seen.<\/p><\/dd>\n<dt id=\"can%20one%20form%20notify%20several%20chats%3F\"><h3>Can one form notify several chats?<\/h3><\/dt>\n<dd><p>Yes. A connection accepts any number of chats, and you can create any number of connections per form.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20supergroup%20topics%20%28threads%29%3F\"><h3>Does it work with supergroup topics (threads)?<\/h3><\/dt>\n<dd><p>Yes \u2014 set the optional thread ID on the chat.<\/p><\/dd>\n<dt id=\"does%20it%20change%20how%20cf7%20sends%20email%3F\"><h3>Does it change how CF7 sends email?<\/h3><\/dt>\n<dd><p>No. Telegram delivery runs in addition to normal CF7 mail and never interrupts it.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: multiple bots and chats, form-to-chat connections, per-form message templates, test sending, chat ID detection, activity log.<\/li>\n<\/ul>","raw_excerpt":"Send Contact Form 7 submissions to Telegram. Multiple bots and chats, per-form routing, and fully customizable message templates.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/338578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=338578"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/branch418"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=338578"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=338578"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=338578"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=338578"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=338578"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=338578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}