Contact Form 7 + Telegram

Опис

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 Telegaram.
  3. Get your Chat ID and save this on the settings page Contact Form 7 – CF7 Telegram. You can see your Chat ID by typing anything to Telegram-Bot @wpcf7Bot.
  4. Start chat with your bot, you created in first step. Use the same Telegram-account as the 3-rd step. Just click the START button.

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 programm files.

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

Часті питання

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.

Відгуки

15.11.2019
what a wonderfull plugins. easy to use and works!
Прочитати всі 6 відгуків

Учасники та розробники

“Contact Form 7 + Telegram” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

“Contact Form 7 + Telegram” було перекладено на 4 локалізації. Дякуємо перекладачам за їх роботу.

Перекладіть “Contact Form 7 + Telegram” на вашу мову.

Цікавитесь розробкою?

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

Журнал змін

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