

Identifier of the channel in which you want to open an active chat when you open iFrame Optional parameter that contains the name of the contact

“global” for the chat window with all available chats to the user,.The context in which the window opens where: The object that contains information about the user Required parameters are marked with an asterisk To get the link that will open the chat window, you need to call POST Request parameters Parameter
IFRAME CHATID HOW TO
How to embed a Wazzup chat window into your CRM And if webhooks can not be used - by events. We recommend working with the “suitcase” using webhooks. Window.In this article, we will tell you how to embed the Wazzup chat window into your CRM and set up the work of the “suitcase” based on events. Open a chat with your bot and hit /start to get your unique chat ID (Don't forget to replace with your token and server url) env variable named TELEGRAM_TOKEN with the value you got from the bot webhook to your bot server by making a GET request to the following url
IFRAME CHATID INSTALL
Clone it locally and install or if you use Heroku, fork this repository and point the new app to it.Talk to Telegram create a new bot and get its API Token.ĭeploy this repo to your own chat server. The chat iframe will only be loaded if the user interacts with the chat widget (currently about 40KB gziped).ĭeploy your own Intergram instance (Self Hosting).The widget injection script is about 5KB gziped and executes only after the host page finished loading ('onload' event).Using Preact helped creating a pretty minimal js bundle.MainColor: "#E91E63", // Can be any css supported color 'red', 'rgb(255,87,34)', etcĪlwaysUseFloatingButton: false // Use the mobile floating button also on large screens IntroMessage: 'First message when the user opens the chat for the first time',ĪutoResponse: 'A message that is sent immediately after the user sends its first message',ĪutoNoResponse: 'A message that is sent one minute after the user sends its first message ' + Window.intergramId = "Your unique chat id" (All its properties are also optional and will fallback to their original values) Customization - Try ItĬurrently you can customize all visible texts and the main widget color by setting an optional intergramCustomizations object in the injection script tag. Loadmill is a new concept and still in Beta - If you don't feel comfortable with this, please use your own self hosted version.
IFRAME CHATID FREE
Important Notice: I plan to keep the hosted chat service 100% free (no ads also!), but there are some hosting expenses (servers, domain, cdn, etc), so I will soon start bundeling a Loadmill component with the Intergram script. Sending a standard message will broadcast to all connected chat clients (You might find it easier to use if you have only one active conversation) Note: replying to a specific message should be used to respond to that specific visitor. (Don't forget to add your actual chat ID).
IFRAME CHATID CODE
Paste this code snippet right before the closing body tag of every page where you want the chat to appear.Open Telegram messenger, search for and hit /start to get your unique chat ID.Embed Intergram in your website with these 2 simple steps And, I can easily handle a huge amount of load, because my app runs completely stateless (No database) and just serves as a pipe between Telegram and the chat widget users. I don't have to build fancy mobile and desktop apps for several platforms because Telegram already has a great multiplatform chat client. Why use a Telegram bot to implement a chat widget?īy using a Telegram bot, I delegate all the message routing work and chat state management to Telegram. You can also self-host the bot server to get more control of this process. Visitors' messages are sent from the chat widget to my bot server, which sends them to your Telegram messenger where you can answer them. You initiate a chat with my Telegram bot and add 2 lines of script to your website to embed the widget. aslauris - Who redesgined the new UI! Check out his website.It will let you chat with your website visitors using your Telegram messenger. A Free live chat widget that you can easily add to your website.
