Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Contact Form 7 + Telegram

Descrição

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.

Perguntas frequentes

How to create the Telegram-Bot?

It is very simple. Please, follow to official documentation.

What is Chat ID & how to get it?

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.

Avaliações

12 de Março, 2020
Отличный плагин, с понятной документацией. Всё настраивается и работает как часы! Автору респект!
7 de Fevereiro, 2020
Спасибо за очень полезный плагин. Мне очень удобно использовать шорт-коды, т.к. с сайта отправляются сервисные сообщения, есть возможность отсечь лишние письма и не принимать их в телеграмм. Отдельно хочу отметить поддержку: обращался к создателю - оперативно устранил некоторые огрехи, всех ситуаций не предусмотреть. Обещал апдейт в ближайшее время✌️✌️✌️
Ler todas as 12 avaliações

Contribuidores e programadores

“Contact Form 7 + Telegram” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

“Contact Form 7 + Telegram” foi traduzido para 7 locales. Obrigado aos tradutores pelas suas contribuições.

Traduza o “Contact Form 7 + Telegram” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações

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_mail hook instead wpcf7_mail_sent. It is more reliable way.
  • wpcf7tg_skip_tg added.
  • wpcf7tg_markdown added.
  • WPFC7TG_BOT_TOKEN added.
  • bugs fixed

0.5

  • Markdown added