API to send and receive messages

API to send and receive messages

Dear Support,

I have installed the zoho salesiq plugin on wordpress, and modified the following line to be able to display agent's messages into a html placeholder using  .chat.agentMessage()

              $ldcode_str .= '$zoho.salesiq.chat.agentMessage(function(visitid,data)
                                                  {
                                                      document.getElementById("demo").innerHTML = data.message;
                                                  });

That was successful.



I want also to grab the visitor's messages in a standard html text box and send it across to the salesiq agent.  (my goal is to bypass the embedded floating box to display the conversation on the html page itself.) I was looking for a API JS function for this, but couldn't figure out a way to do it.

Let me know if you have a specific function, or if there is a way to achieve this in another way.

Many Thanks

Denis
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方