Contact Form 7 + Telegram
Contact Form 7 + Telegram
Description
This plugin allows to send Contact Form 7 messages to your Telegram-chat. For this you need to make several simple steps.
- Create the Telegram-Bot and save the Bot-Token parameter on the settings page Contact Form 7 – CF7 Telegram or to
WPFC7TG_BOT_TOKENconstant. - 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
It is very simple. Please, follow to official documentation.
The Chat ID parameter is your Telegram-identifier. But this is not your phone number or Telegram-login (@xxxxxxxx).
You can see your Chat ID by typing anything to Telegram-Bot @wpcf7Bot.
Reviews
Спасибо
By favoritlab on April 23, 2025
Отличный плагин, спасибо
It works great!
By blinmen on March 28, 2025
This plugin works great, easy to setup!
Спасибо за полезный плагин!
By iforgotmypassword on December 7, 2024
Есть ли возможность передавать файлы в телеграм?
Удобно, функционально
By originalsam on March 15, 2024
Приветствую!
Спасибо за труды. Плагин получился отличный. Привет из Казахстана 🙂
Огонь
By romanavr on July 16, 2021
Отличный плагин с лёгкой настройкой
By goodwynn on June 18, 2021
Good plugin
By agusapri on September 19, 2020
This plugin works great! Love it!
By godzealous on September 1, 2020
Превосходный плагин
By realkaban on March 12, 2020
Отличный плагин
By kalaganov5 on February 11, 2020
Changelog
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