Contact Form 7 + Telegram

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

Author:Hokku (profile at wordpress.org)
WordPress version required:4.7
WordPress version tested:6.5.2
Plugin version:0.8.3
Added to WordPress repository:01-08-2018
Last updated:15-04-2024
Rating, %:100
Rated by:15
Plugin URI:
Total downloads:32 024
Active installs:9 000+
plugin download
Click to start download

This plugin allows to send Contact Form 7 messages to your Telegram-chat. For this you need to make several simple steps.

  1. Create the Telegram-Bot and save the Bot-Token parameter on the settings page Contact Form 7 – CF7 Telegram or to WPFC7TG_BOT_TOKEN constant.
  2. Paste the shortcode [telegram] in your contact form template for activate sending to Telegram.

Now you can to add users or group to subscriber list.
To add a user send the /cf7tg_start command to your bot.
To add a group add your bot to the group and send the /cf7tg_start command to your group.

After this, you will see the requests on the Contact Form 7 – CF7 Telegram settings page. Approve or decline them.

Hooks and constants

Filter wpcf7tg_skip_tg.
Use for skipping sending message.

Filter wpcf7tg_markdown.
Use for customizing markdown tag set.

Constant WPFC7TG_BOT_TOKEN.
Use for define the bot token value in the program files.

This plugin uses API Telegram and makes remote HTTP-requests to Telegram servers for sending your notifications.


FAQ
ChangeLog