Description
This plugin lets you send Contact Form 7 messages to Telegram chats via a bot. Setup takes just a few steps:
- Create a Telegram bot (how to).
- Create a bot in the plugin UI.
- Paste the bot token into the bot form (PHP constants also available).
- Create a channel in the plugin UI — it links your Contact Form 7 forms to Telegram chats.
- Add users to the subscriber list by sending the
/cf7tg_startcommand to your bot. To add a group, first add the bot to the group, then send/cf7tg_startin that group. - Approve or decline subscription requests on the Contact Form 7 CF7 Telegram settings page.
- Configure the channel: choose which forms to send messages from.
Hooks and constants
Filter wpcf7tg_skip_tg
Use it to skip sending a Telegram message.
Filter wpcf7tg_markdown
Use it to customize the allowed Markdown tags.
This plugin uses API Telegram and sends remote HTTP requests to Telegram servers to deliver notifications.
Reviews
Contributors & Developers
“Message Bridge for Contact Form 7 and Telegram” is open source software. The following people have contributed to this plugin.
Contributors“Message Bridge for Contact Form 7 and Telegram” has been translated into 8 locales. Thank you to the translators for their contributions.
Translate “Message Bridge for Contact Form 7 and Telegram” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.4
- Minor fixes.
1.0.3
- Fix translation loading issue.
1.0.2
- Manual migration button added.
- Migration process improved.
1.0.1
- Fix react template.
1.0.0
- New UI for managing channels and bot token.
- New plugin name was chosen to comply with new WordPress guidelines.
0.10.0
- Beta testing is available for everyone.
0.9.3
- Preparing for beta testing.
0.9.2
- Loading textdomain fixed – moved to init hook.
- Array undefined key fixed.
0.9.1
- Version never released.
0.9
- Preparing to v1.0 seamless transition.
0.8.7
- API Telegram errors logging added.
0.8.6
- Security issue CVE-2024-9629 got fixed.
0.8.5
- PHP 7.2 compatibility fixed.
0.8.4
- Markdown symbols escaping got added in order to fix an issue.
0.8.3
- Blueprint got added.
0.8.2
- Donation link got changed.
- tested up to WP 6.5
0.8.1
- Actualize add-on sale date.
0.8
- Addons available
0.7.10
- Preparing for attachment sending
- A few fixes
0.7.9
- Markdown for HTML-format issue
0.7.7
- Support WP 5.3 functions for WP before 5.3
0.7
- New interface recipient management
- Groups are supported
- WPCF7_ContactForm::prop( ‘mail’ ) instead WPCF7_ContactForm::$mail
- FIXED Dependence parse_mode by use_html property
0.6.2
- Trim for CHAT_ID field elements added
0.6.1
- Markdown bug fixed
0.6
- Message to telegram now sends on
wpcf7_before_send_mailhook insteadwpcf7_mail_sent. It is more reliable way. wpcf7tg_skip_tgadded.wpcf7tg_markdownadded.WPFC7TG_BOT_TOKENadded.- bugs fixed
0.5
- Markdown added
