Contact Form 7 + Telegram

plugin banner

This plugin allows to post CF7-messages to you through Telegram-bot. Just use shortcode [telegram] in your CF7-form.

Author:iTRON (profile at wordpress.org)
WordPress version required:5.6
WordPress version tested:6.9.4
Plugin version:1.0.8
Added to WordPress repository:01-08-2018
Last updated:03-04-2026
Rating, %:86
Rated by:21
Plugin URI:
Total downloads:76 333
Active installs:10 000+
plugin download
Click to start download

This plugin lets you send Contact Form 7 messages to Telegram chats via a bot. Setup takes just a few steps:

  1. Create a Telegram bot (how to).
  2. Create a bot in the plugin UI.
  3. Paste the bot token into the bot form (PHP constants also available).
  4. Create a channel in the plugin UI — it links your Contact Form 7 forms to Telegram chats.
  5. Add users to the subscriber list by sending the /cf7tg_start command to your bot. To add a group, first add the bot to the group, then send /cf7tg_start in that group.
  6. Approve or decline subscription requests on the Contact Form 7 CF7 Telegram settings page.
  7. 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.


ChangeLog