=== TextDigo Live Chat ===
Contributors: franckck
Tags: live chat, melia, ai chat, whatsapp, sms
Requires at least: 6.3
Tested up to: 7.0
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add TextDigo live chat, Melia AI and multichannel messaging to your WordPress site in one click.

== Description ==

TextDigo Live Chat lets you install the TextDigo widget on your WordPress site without touching any code. Connect your TextDigo account, choose which pages show the widget, and you're live — with Melia AI handling replies automatically.

= Features =

* One-click connection to your TextDigo account
* Live chat widget with Melia AI auto-replies
* WhatsApp, SMS, Facebook Messenger and Email — all in one inbox
* Control exactly which pages show the widget
* Embedded TextDigo control panel inside WordPress admin

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin
3. Go to **TextDigo Live Chat** in your admin menu
4. Sign in or create a TextDigo account

== External services ==

This plugin connects your WordPress site to TextDigo, a hosted messaging platform, so it can load the live chat widget on your pages and show your TextDigo control panel inside the WordPress admin. TextDigo is a third party service operated by TextDigo. Using the plugin requires a TextDigo account, and the widget cannot work without communicating with the TextDigo servers.

The plugin talks to TextDigo in three ways:

1. TextDigo API (https://api-s1.textdigo.com). When you sign in, configure the widget, or manage your account from the WordPress admin, the plugin sends requests to this API. The data sent includes your login credentials at sign in, your session token on later requests, the domain of your site, and the display settings you choose (such as which pages show the widget).

2. Live chat widget script (https://api-s1.textdigo.com/api/v0/live-chat/code/). On the public side of your site, the plugin loads this script so the chat widget can appear to your visitors. The script then exchanges messages between your visitors and TextDigo, including the page origin and whatever your visitors type into the chat.

3. Control panel (https://www.textdigo.com/embed). The plugin embeds your TextDigo control panel as a frame inside the WordPress admin so you can manage conversations without leaving WordPress. This frame is served by TextDigo and uses a short lived token minted for your account.

By connecting a TextDigo account you agree to the TextDigo terms of service and privacy policy:

* Terms of service: https://www.textdigo.com/legal/terms
* Privacy policy: https://www.textdigo.com/legal/privacy

== Frequently Asked Questions ==

= Do I need a TextDigo account? =

Yes. The widget and the admin control panel both talk to TextDigo, so you sign in or create a free account from the plugin screen after activation.

= Where does the plugin send data? =

Only to TextDigo. See the External services section above for the details of what is sent and when.

= Is the plugin free? =

The plugin is free. TextDigo offers both free and paid plans for the messaging service itself.

== Screenshots ==

1. Connect your TextDigo account to WordPress with your email or with Facebook.
2. The TextDigo control panel embedded right inside your WordPress admin.
3. Choose exactly which pages show the live chat widget.
4. Create a free TextDigo account without leaving WordPress.

== Changelog ==

= 1.0.0 =
* Initial release
