This plugin allows to post CF7-messages to you through Telegram-bot. Just use shortcode [telegram] in your CF7-form.
This plugin allows to send Contact Form 7 messages to your Telegram-chat. For this you need to make several simple steps.
WPFC7TG_BOT_TOKEN
constant.[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.
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.
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
.
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.