Linux 软件免费装
Banner图

Notification for Telegram

开发者 rainafarai
更新时间 2026年2月27日 21:01
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9.1
版权: GPLv2 or later
版权网址: 版权信息

标签

Woocommerce ai Notification Telegram mcp

下载

2.2 1.2 1.4 1.7 2.0 2.3 2.6 3.4.2 2.8 3.3.7 3.4.1 3.3 3.3.6 3.4 2.4 2.5 2.7 2.9 3.3.3 3.4.5 3.4.6 3.3.2 3.4.3 3.4.4 3.5 3.4.7

详情介绍:

The "Notification for Telegram" plugin for WordPress is a tool that allows you to send notifications and messages to a Telegram channel, group or user/s when specific events occur on your WordPress site. This plugin is useful for monitoring critical events on your site, such as new comments, new user registrations, publishing activities, New forms sent,Woocommerce and Surecart orders, cart and lowstock, Mailchimp and more, by sending notifications directly to a Telegram channel or group or user/s of your choice. It also offers a shortcode to send Telegram notifications on every page of your website or in your code. Receive Telegram messages notification when: You can enable/disable every notification in the Plugin settings page. To configure the plugin, you need a valid Telegram API token. Its easy to get starting a Telegram Bot. You can learn about obtaining tokens and generating new ones in Setup Guide A complete step-by-step guide is available here: View the full documentation To get your Bot Token, you can refer to one of these resources: To get your Chat ID, you need at least one recipient ID. You can retrieve it using one of these bots directly in Telegram: For Channel and Group Chatid settings see the FAQ section. Once You got the 2 fields save the configuration and try the "TEST" button .. you should receive a message in you telegram : "WOW IT WORKS" !! If not, check token and chatid fields again for the correct values. this plugin is relying on a 3rd party service to geolocate the Ip address https://ip-api.com/ https://ip-api.com/docs/legal to see the services’ a terms of use and/or privacy policies

安装:

This section describes how to install the plugin and get it working. e.g.
  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin
  4. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)

屏幕截图:

  • Choose which notification you want to receive
  • A shortcode example.
  • Order Telegram Notification
  • Login fails result on your Mobile app
  • Woocommerce Setting Tab
  • Cron Setting Tab keep update your system
  • Hook Position in Order Notification
  • Hook Position in Login Notification

升级注意事项:

For Old versions Only !! after updating to version> 2 check the settings again, if you have problems in the update uninstall and reinstall the plug sorry for the problem

常见问题:

How do I obtain a Telegram Bot Token?

When you create a Telegram bot, BotFather generates a unique token for you. BotFather (@botfather) is the official Telegram bot for creating and managing bots — search for it directly inside Telegram. Creating a new bot

  1. Open Telegram and search for @botfather.
  2. Send the command /newbot.
  3. BotFather will ask you for two things:
  4. Name — the display name shown in contact details and conversations (e.g. "My Awesome Bot").
  5. Username — a short unique handle used in mentions and t.me links (e.g. @my_awesome_bot). Usernames must be 5–32 characters long, can only contain Latin letters, numbers and underscores, and must end in "bot".
  6. Once created, BotFather will provide your authorization token.
What does a token look like? A token is a string in this format: 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw This token is required to authorize your bot and send requests to the Telegram Bot API. Keep it private — anyone who has it can take full control of your bot. What if I lose my token or it gets compromised? Send the /token command to @botfather, select your bot, and it will generate a new token. The old one will be immediately invalidated.

How do I find my personal Telegram Chat ID?

There are two quick ways:

  1. Search for @userinfobot or @get_id_bot on Telegram, send /start and the bot will instantly reply with your numeric user ID (e.g. 29627823).
  2. Search for @RawDataBot (https://t.me/RawDataBot), send any message, and it will reply with your full account info including your ID.

How do I find the Chat ID of a group?

  1. Add your bot to the group as a member.
  2. Send any message in the group (or type /start@yourbotname).
  3. Open the following URL in your browser, replacing with your bot token: https://api.telegram.org/bot/getUpdates
  4. Look for the "chat" object in the JSON response — the "id" field is your group Chat ID. Group IDs are always negative numbers (e.g. -1001234567890).
Note: if the result is empty, make sure you sent a message after adding the bot, then refresh the URL.

How do I find the Chat ID of a channel?

  1. Add your bot to the channel and assign it Administrator privileges.
  2. Post any message in the channel.
  3. Open the following URL in your browser: https://api.telegram.org/bot/getUpdates
  4. Find the "chat" object in the JSON — the "id" is your channel Chat ID. Channel IDs always start with -100 (e.g. -1009876543210).

Is there a universal method that works for users, groups and channels?

Yes. Add @RawDataBot (https://t.me/RawDataBot) to your group or channel (as admin), or simply message it privately. Send any message and it will reply with a full JSON breakdown of the chat, including the exact Chat ID you need.

My getUpdates response is empty — what should I do?

This usually means no messages have been sent to the bot recently. Try the following:

  1. Make sure the bot has been added to the chat.
  2. Send a new message in the chat (or write directly to the bot in a private conversation).
  3. Reload the getUpdates URL in your browser. If the response is still empty, check that no other application is consuming the bot updates (e.g. a webhook that is already set — in that case you need to delete it first via /deleteWebhook).

Can i insert more than one recipient chatid?

Yes you can add more than one chattid separated by a comma (,) both in option page and in the shortcode.

Does this plugin support AI agents and MCP?

Yes! Starting from version 3.5, this plugin supports the WordPress Abilities API and is compatible with MCP (Model Context Protocol), the open standard that allows AI agents like Claude, ChatGPT, and others to interact with WordPress autonomously.

What do I need to enable MCP support?

You need to install two additional free plugins:

How does an AI agent authenticate?

Via WordPress Application Passwords — go to Users → Your Profile → Application Passwords, create one, and use it in your MCP client configuration. Your main password is never exposed.

What can an AI agent do with this plugin?

An authorized AI agent can:

  • Send a Telegram message with custom text
  • Include an optional inline button with label and URL
  • Target a specific Telegram chat ID, overriding the default

How can I test the MCP integration without an AI?

You can test everything for free using curl from your terminal. First, make sure the plugin is configured and the built-in "Send Test Message" button works correctly in the plugin settings. Then run these commands in order: Step 1 — Initialize the session and get the Session ID: curl -X POST "https://YOURSITE.com/wp-json/nftb-telegram/mcp" \ -H "Content-Type: application/json" \ -u "ADMIN:APP_PASSWORD" \ -D - \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' Look for the Mcp-Session-Id value in the response headers and copy it. Step 2 — Verify the tool is available: curl -X POST "https://YOURSITE.com/wp-json/nftb-telegram/mcp" \ -H "Content-Type: application/json" \ -H "Mcp-Session-Id: YOUR-SESSION-ID" \ -u "ADMIN:APP_PASSWORD" \ -d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' You should see "notification-for-telegram-send-message" in the response. Step 3 — Send a real Telegram message via MCP: curl -X POST "https://YOURSITE.com/wp-json/nftb-telegram/mcp" \ -H "Content-Type: application/json" \ -H "Mcp-Session-Id: YOUR-SESSION-ID" \ -u "ADMIN:APP_PASSWORD" \ -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"notification-for-telegram-send-message","arguments":{"message":"🤖 MCP is working!"}}}' If the message arrives in your Telegram chat — everything is working correctly. APP_PASSWORD = a WordPress Application Password (Users → Your Profile → Application Passwords).

Is MCP support stable?

This feature is currently experimental. We welcome feedback and bug reports — if you test it, please leave a review or open an issue on the plugin's GitHub page.

Where can I find the MCP endpoint?

Once the required plugins are installed, your MCP endpoint will be available at: https://yoursite.com/wp-json/nftb-telegram/mcp

更新日志:

3.5 3.4.7 3.4.6 3.4.5 3.4.4 3.4.3 3.4.2 3.4.1 3.4 3.3.7 3.3.6 3.3.3 3.3.1 3.3 3.2 3.1 3.0 2.9 2.8 2.7 2.6 2.5 2.4 2.3 2.2 2.0 1.6 1.4 1.3 1.2 1.1 1.0