內容簡介
BirdyChat 外掛讓使用者能夠輕鬆地在 WordPress 網站的頁腳中插入 BirdyChat 的 Telegram 小工具,無需編輯佈景主題的 functions.php 檔案,簡化了安裝過程。
【主要功能】
• 輕鬆插入 BirdyChat 小工具代碼
• 自動驗證 widgetId 格式
• 在每個頁面底部載入必要的 JavaScript
外掛標籤
開發者團隊
原文外掛簡介
Connect your website directly to your Telegram with the BirdyChat Telegram Live Chat Widget. This plugin provides a simple way to install your widget code without touching your theme’s functions.php file, allowing you to manage all customer support from the app you already use every day.
The Ultimate Tool for Busy Business Owners:
Voice-to-Text Efficiency: The standout feature! You can reply to customers by sending a voice message in Telegram, and BirdyChat automatically converts it to text for your website visitor. Perfect for responding while you’re on the move.
Seamless Visitor Experience: Your customers chat in a professional window right on your site. They don’t need a Telegram account to talk to you.
All Chats in One Place: No need to log into a separate dashboard or install heavy support software. If you have Telegram, you have your helpdesk.
Steps to get started:
Start the bot: t.me/birdychat_bot
Open the mini app.
Copy the code and paste it into the textarea below.
How the plugin works
User copies the widget code from the telegram bot (https://t.me/birdychat_bot) and pastes it into the textarea. The widget embed code consist of two parts:
External resource loader:
Initialization snippet: .
The plugin extracts widgetId parameter and validates it.
If successful, the both scripts are enqueued in the footer section of every WordPress page.
External services
This plugin relies on an external service provided by https://birdychat.com:
Terms of use.
Privacy policy.
The plugin first checks that the widgetId is in UUID format ( Universally unique identifier, e.g. 123e4567-e89b-12d3-a456-426655440000), then calls the API at https://router.birdychat.com/getserverurl to confirm the ID exists in the BirdyChat database. This call is made once, when the user saves the widget embed code.
