=== Pokko – Live Chat via Telegram ===
Contributors: atakeep
Tags: live chat, telegram, chat, customer support, arabic
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A live chat for your site, answered from Telegram. One button connects it: there is nothing to set up, and no message is kept.

== Description ==

Pokko puts a live chat on your site, and every conversation arrives in your Telegram. You reply there, from your phone or your computer, and your visitor sees the reply in the chat at once.

* **One button.** Install, activate, press «Connect Telegram», then Start in the bot. No account to create, no key to copy, no settings page.
* **It looks like your site.** The chat takes your site's name, colour and language by itself.
* **Ten languages**, with Arabic and Urdu laid out right to left, and Hindi, Bengali, Korean, Russian, French, Spanish, Portuguese and English.
* **No message is kept.** A visitor's message passes through Pokko to your Telegram and is not stored on our servers. If a visitor leaves before you reply, your reply can be emailed to them, when they left their address.
* **Speed plugins leave it alone.** Cloudflare Rocket Loader, LiteSpeed Cache and WP Rocket are asked to skip it, and it still works when one of them merges or delays scripts.

The free plan runs the chat on one site and shows a small Pokko link in the chat window. Plans and prices are on [pokko.chat](https://pokko.chat/).

== External services ==

This plugin connects your site to Pokko, a live chat service run by ATAKEEP, and through it to Telegram.

* **Until you press «Connect Telegram»**, nothing is sent anywhere and nothing is added to your site.
* **When you press it**, your browser opens Telegram (t.me) with a code the plugin made. Pressing Start in our bot, @PokkoChatBot, links your site to your Telegram account. The code only identifies your site to the bot: it holds nothing about you or your visitors.
* **On every page of your site**, from then on, your visitors' browsers load the chat from w.pokko.chat and ask api.pokko.chat whether the chat runs on your site, which tells it your site's address. No cookie is set.
* **When a visitor writes**, their message, the page they wrote from, their language and, if they choose to leave it, their email address go to api.pokko.chat and on to your Telegram through Telegram's Bot API. Pokko does not store the messages. The visitor's own browser keeps the conversation for 4 hours.

Pokko: [Terms](https://pokko.chat/terms), [Privacy Policy](https://pokko.chat/privacy). Telegram: [Terms of Service](https://telegram.org/tos), [Privacy Policy](https://telegram.org/privacy).

== Installation ==

1. Install and activate the plugin.
2. Press «Connect Telegram» in the notice that appears. On a computer, press «Show a QR code» and scan it with your phone instead.
3. Press Start in Telegram. Open your site once: the chat appears, and the bot tells you it does.

== Frequently Asked Questions ==

= Do I need a Pokko account? =

No. Your Telegram account is your account: pressing Start in the bot is all it takes.

= Where do I answer my visitors? =

In Telegram, on your phone or your computer. Each visitor gets their own topic in your chat with the bot, and you reply inside it.

= Are the messages encrypted? =

Telegram's chats with bots are not end-to-end encrypted, so we don't say that they are. What we promise is that we keep none of them. Our [privacy policy](https://pokko.chat/privacy) says what passes through us and where it goes.

= Will it slow my site down? =

The chat loads after your page, when the browser is idle, and its first file is under one kilobyte. A live connection opens only once a visitor starts a conversation.

= Can I use it on more than one site? =

Yes: install it on each site and connect each one to the same Telegram account. The free plan runs the chat on one site, and Pro on three.

= How do I remove it, or connect another Telegram account? =

Deactivate or delete the plugin, and the chat leaves your site at once. To connect a different Telegram account, press «Connect another Telegram account» under the plugin on the Plugins screen.

== Changelog ==

= 1.0.0 =
* First release.
