Message Bridge for Contact Form 7 and Telegram

Por iTRON
(21 avaliações)
Baixar
  • Versão:
    1.1.0
  • Última atualização:
    há 3 dias
  • Instalações ativas:
    mais de 10 mil
  • Versão do WordPress:
    5.6 ou maior
  • Testado até o WordPress:
    7.1
  • Versão do PHP:
    8.0 ou maior
  • Tags:

Hospedagem WordPress com plugin Contact Form 7 + Telegram

Onde hospedar o plugin Contact Form 7 + Telegram?

Este plugin pode ser hospedado em qualquer hospedagem que possua WordPress configurado. Recomendamos fortemente escolher uma hospedagem confiável, com servidores adaptados para WordPress, como o serviço de hospedagem de sites da MCO2.

Hospedando o plugin Contact Form 7 + Telegram em um provedor confiável

A MCO2, além de instalar o WordPress na versão mais atual para seus clientes, fornece o plugin WP SafePress, um mecanismo singular que protege e otimiza seu site ao mesmo tempo.

Por que a Hospedagem WordPress funciona melhor na MCO2?

A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização de imagens e fotos, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São recursos que potencializam seu WordPress para a máxima segurança e o máximo desempenho.

This plugin lets you send Contact Form 7 messages to Telegram chats via a bot. Setup takes just a few steps:

  1. Create a Telegram bot (how to).
  2. Create a bot in the plugin UI.
  3. Paste the bot token into the bot form (PHP constants also available).
  4. Create a bridge in the plugin UI. A bridge links Contact Form 7 forms, a Telegram bot, and one or more Telegram recipients.
  5. Add users to the subscriber list by sending the /cf7tg_start command to your bot. To add a group, first add the bot to the group, then send /cf7tg_start in that group.
  6. Approve or decline subscription requests on the Contact Form 7 CF7 Telegram settings page.
  7. Configure the bridge: choose which forms it handles and which Telegram recipients should receive those messages. Create at least one bridge to run the integration, and add more when different forms should send messages to different sets of Telegram recipients.

The integration is configured correctly when the bot panel is highlighted in blue and the bridge panel is highlighted in green.

Hooks and constants

Filter wpcf7tg_skip_tg
Use it to skip sending a Telegram message.

Filter wpcf7tg_markdown
Use it to customize the allowed Markdown tags.

Filter wpcf7tg_sendMessage( $args, $chat_id, $mode )
Use it to customize Telegram sendMessage arguments for each recipient and message chunk.

Action wpcf7tg_message_sent( $args, $submission )
Runs after each Telegram delivery attempt. A Telegram failure does not abort the Contact Form 7 submission.

Action wpcf7tg_messages_sent( $list, $output, $mode, $submission )
Runs after all configured recipients have been attempted.

Constant WPCF7TG_LOG_RETENTION_DAYS and filter cf7tg/logRetentionDays
Set the log retention period in days. The default is 30; set it to 0 to disable age-based pruning.

Constant WPCF7TG_LOG_MAX_ROWS and filter cf7tg/logMaxRows
Set the maximum number of newest log rows to retain. The default is 10000.

Constants WPCF7TG_PING_INTERVAL and WPCF7TG_UPDATES_INTERVAL
Set the offline bot status retry interval and the online Telegram update polling interval in milliseconds. The defaults are 5000 and 12000 respectively.

This plugin uses API Telegram and sends remote HTTP requests to Telegram servers to deliver notifications.

Capturas de tela

Telegram notifier settings after a successful setup: the bot is highlighted in blue and the bridge is highlighted in green.

Telegram notifier settings after a successful setup: the bot is highlighted in blue and the bridge is highlighted in green.

Multiple Telegram recipients and multiple bridges connected to different Contact Form 7 forms.

Multiple Telegram recipients and multiple bridges connected to different Contact Form 7 forms.

Plugins semelhantes

Joinchat – “Clique para bater papo” avançado
(189 avaliações)

O plugin de WhatsApp mais instalado no WordPress: um botão flutuante personalizável, que transforma seus visitantes em bate-papos, leads e vendas.

Database Addon for Contact Form 7 – CFDB7
(1.874 avaliações)

Save and manage Contact Form 7 messages. Never lose important data. It is a lightweight contact form 7 database plugin.

WP Armour – Honeypot Anti Spam
(1.435 avaliações)

Fastest growing Anti Spam plugin. No API calls, subscriptions, captcha or puzzle. Full GDPR complaint. For comments, contact form, login, registration

ReCaptcha v2 for Contact Form 7
(89 avaliações)

Adds reCaptcha v2 from Contact Form 7 5.0.5 that was dropped on Contact Form 7 5.1

Conditional Fields for Contact Form 7
(166 avaliações)

Adds conditional logic to Contact Form 7.

DTX – Dynamic Text Extension for Contact Form 7
(99 avaliações)

Extends Contact Form 7 by adding dynamic form fields that accepts shortcodes to prepopulate form fields with default values and dynamic placeholders.