Description
TGSend integrates your WordPress site directly with Telegram. Get real-time alerts delivered straight to your Telegram chat, group, or channel whenever a user submits a form or places an order on your store.
Features
- Contact Form 7 Integration: Instant alerts on every form submission with dynamic form field data.
- WPForms Integration: Instant notifications for WPForms submissions.
- WooCommerce Integration: Get detailed order alerts including items, quantities, totals, customer details, and payment methods.
- Custom Fields Discovery: Automatic scanning and mapping of custom checkout and product item meta fields.
- Customizable Message Templates: Personalize notification messages using easy-to-use template tags and HTML formatting.
- Event Logging: In-depth log viewer to monitor delivery status and debug potential API issues.
- Multilingual Ready: Built-in support for English and Russian with seamless translation options.
External Services
This plugin connects to the Telegram Bot API (a third-party external service) to deliver notifications.
What is it used for?
When a Contact Form 7 or WPForms submission is received, or a WooCommerce order is placed, this plugin sends a notification message to a Telegram chat, group, or channel configured by the site administrator.
What data is sent?
The data sent depends on which integrations are enabled and how message templates are configured. It may include form field values (e.g. name, email, message) and/or WooCommerce order details (e.g. order number, items, totals, customer name and address). Data is transmitted only when the relevant form submission or order event occurs and only if a valid Bot Token and Chat ID have been configured.
Service provider: Telegram Messenger Inc.
* Service endpoint: https://api.telegram.org/
* Telegram Terms of Service
* Telegram Privacy Policy
This plugin is not affiliated with or endorsed by Telegram Messenger Inc.
Installation
- Upload the
tgsend-telegram-integrationfolder to the/wp-content/plugins/directory, or install the plugin directly through the WordPress plugins screen. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Obtain a Bot Token from @BotFather on Telegram.
- Retrieve your Chat ID (or group/channel ID).
- Navigate to TGSend in your WordPress admin menu, enter your Bot Token and Chat ID, and click Save Settings.
- Switch to the Integrations tab to enable and customize your preferred integrations (Contact Form 7, WPForms, WooCommerce).
FAQ
-
How do I create a Telegram Bot?
-
- Open Telegram and search for @BotFather.
- Send the
/newbotcommand and follow the prompts to choose a name and username. - BotFather will provide an API token (e.g.
123456789:ABCdefGhIjklMnopQrstUvwxYZ). - Copy and paste this token into TGSend settings.
-
How do I get my Chat ID?
-
- Personal Chat: Send any message to your bot, then open
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdatesin your browser. Look for thechat.idvalue. - Group or Channel: Add your bot as an administrator to your group or channel, post a message, and check the same
getUpdatesURL (the group ID will be a negative number, e.g.-1001234567890).
- Personal Chat: Send any message to your bot, then open
-
Can I customize the notification message layout?
-
Yes! In the Integrations tab, you can customize message templates using HTML formatting (
<b>,<i>,<a>,<code>) and dynamic tags such as{order_number},{customer_name},{items},{fields}, etc.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“TGSend Notifications for Telegram” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “TGSend Notifications for Telegram” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.1
- Resolved Plugin Check compliance requirements.
- Added full Russian language translation.
- Improved template placeholders and translators documentation.
- Sanitization and security improvements across admin and database queries.
1.0.0
- Initial public release.