[wordpress插件] Contact Form 7 + Telegram联系表格7 +电报

wordpress 插件 文章 2020-03-21 03:20 808 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin allows to send Contact Form 7 messages to your Telegram-chat.

此插件可以将Contact Form 7消息发送到您的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. 创建Telegram-Bot并将Bot-Token参数保存在设置页面中,联系表7 – CF7 Telegram或 WPFC7TG_BOT_TOKEN 常量。

    3. Paste the shortcode [telegram] in your contact form template for activate sending to Telegaram.
    4. 将简码 [电报] 粘贴到您的联系表单模板中,以激活发送到Telegaram的功能。

    5. Get your Chat ID and save this on the settings page Contact Form 7 – CF7 Telegram.

    6. 获取您的聊天ID,并将其保存在设置页“联系表格7 – CF7电报”中。

      You can see your Chat ID by typing anything to Telegram-Bot @wpcf7Bot.

    7. 您可以通过在Telegram-Bot @ wpcf7Bot 中键入任何内容来查看您的聊天ID。

    8. Start chat with your bot, you created in first step.

    9. 开始与您在第一步中创建的漫游器聊天。

      Use the same Telegram-account as the 3-rd step.

      使用与第3步相同的电报帐户。

      Just click the START button.

    10. 只需单击“开始”按钮。

    Hooks and constants

    钩子和常量

    Filter wpcf7tg_skip_tg.

    过滤器 wpcf7tg_skip_tg

    Use for skipping sending message.

    用于跳过发送消息。

    Filter wpcf7tg_markdown.

    过滤器 wpcf7tg_markdown

    Use for customizing markdown tag set.

    用于自定义降价标记集。

    Constant WPFC7TG_BOT_TOKEN.

    恒定 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

    此插件使用 API电报,并向电报服务器发出远程HTTP请求

    for sending your notifications.

    用于发送通知。

下载地址
https://downloads.wordpress.org/plugin/cf7-telegram.0.6.2.zip
-EOF-

AI助手支持GPT4.0