=== ChatyTalk Chatbot ===
Contributors: juniustech, hasanhoca
Tags: chatbot, ai assistant, chatytalk, ai, chat
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 8.1.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A highly optimized, cache-bypassing AI assistant widget for WordPress, seamlessly powered by ChatyTalk.

== Description ==

ChatyTalk Chatbot provides a seamless integration between your WordPress site and the ChatyTalk AI platform. Built with a modern REST API architecture, it completely bypasses common WordPress cache issues (like WP Rocket, LiteSpeed, or Redis Object Cache) and WAF blocks (403 Forbidden errors). 

This ensures that your visitors always get real-time, lightning-fast AI responses without any session overlap or timeout issues.

= Features: =
* **Bulletproof Architecture:** Uses custom REST API endpoints instead of the traditional admin-ajax.php to avoid firewall and cache blocks.
* **Smart Session Management:** Assigns unique visitor IDs dynamically, avoiding cache-frozen session overlaps.
* **Dynamic Multilingual Support:** Automatically detects the browser language and matches it with dynamic panel settings.
* **Dynamic Quick Replies:** Unlimited, language-specific ready-to-use template buttons to start the conversation instantly.
* **Call-to-Action Tooltip:** A non-intrusive 10-second delayed tooltip with dynamic Left/Right alignment to increase engagement.
* **Customizable UI:** Change colors, titles, and widget positions directly from the WordPress Customizer or Settings page.

== Installation ==

1. Upload the `chatytalk-chatbot` folder to the `/wp-content/plugins/` directory, or install the ZIP file via the WordPress Plugins menu.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to "Settings -> ChatyTalk Bot" and enter your API Key and Tenant Slug.
4. Configure your preferred languages, quick reply templates, and colors.
5. The chatbot widget will automatically appear on the site for all non-admin visitors.

== Frequently Asked Questions ==

= Does it work with caching plugins like WP Rocket? =
Yes! Built specifically to bypass aggressive page caching and Redis Object Cache systems automatically. You do not need to configure complex exclude rules.

= Where do I find my API key? =
You can find your API key in your ChatyTalk SaaS Dashboard under the "API / Credential" section.

== Changelog ==

= 8.1.0 =
* Complete architecture rewrite.
* Product rebranded from internal ILS project to the official ChatyTalk Chatbot SaaS plugin.
* Added dynamic multi-language (i18n) repeater management.
* Added language-specific dynamic quick reply templates.
* Added dynamic Left/Right positioning with automated tooltip alignment.
* Migrated from admin-ajax.php to Custom REST API endpoints to fix 403 blocks.

== External services ==

This plugin connects to the ChatyTalk API to process chatbot messages and manage chat sessions.
Data sent includes the tenant slug, session identifiers, and the chat messages typed by the visitor.
Service provider: ChatyTalk.
[Terms of Service](https://chatytalk.com/terms)
[Privacy Policy](https://chatytalk.com/privacy)
