How can i use Dhtmlx Messages in chat application - dhtmlx

In your dhtmlx message sample examples you said that we can use
dhtmlx messages to communicate with application users.
That was a great idea.
But how can i do that?
Any hints?
Thanks,
Naresh Adla

you probably misunderstood the whole point of dhtmlxmessage, the purpose of that "module" is to communicate your users about actions they perform on your web application, like sending error messages when they do something wrong,or success message, or being able to confirm certain actions like for example deleting or modifying certain information,.
If you wish a javascript chat application you could check here Jquery CHAT API
or there are plenty of other javascript chat applications, but certainly dhtmlxmessage won't work as a chat.

Related

How to notify user via telegram in spring boot app&

I have spring boot app which able to notify users via their emails about some events. In mentioned case app is using user email. I need same functionality for telegram - by user nickname or phone number my app have to notify user about event.
How to implement sush simple case?
I have already worked on a very large scale project. One of the requirements was to send notifications through various channels, including Telegram Messenger.
You can choose different ways to do this, The solution I can suggest to you is to use the APIs that Telegram itself has to communicate with the core.
I guarantee you that many of your needs will be met through these APIs.
I will share the link that helped me a lot before, I hope I could have helped you.
https://core.telegram.org/api
https://core.telegram.org/api/obtaining_api_id

sending a message to bot: v3 directline.postActivity vs. v4 dispatch from webchat store

We are migrating from BotFramework-Webchat v3 to v4. Usually we send a message from the chat through the directline object created from v3 BotChat using the directline.postActivity function. However in our v4 implementation there were issues with the behavior of messages shown in the chat window when posting activities like this.
It seems that sending messages through the webchat redux store as shown in this example is the recommended approach.
I am wondering what is the difference between these two usages? It seems something is different between v3 and v4 versions and I am having difficulty finding references in the documentation about this. Should directline.postActivity be avoided completely?
It isn't documented anywhere, but best practice is what is demonstrated via the samples, by use of the Web Chat redux store and its list of available actions.
Essentially, Web Chat v4 is built on top of BotFramework-DirectlineJS which does use observables. Web Chat then translates the Direct Line observables into its own methods for consumption internally and by the user.
As you noted, it is possible to use the Direct Line observables in Web Chat but it is neither the best method nor the best practice to do so. Primarily, because Web Chat wasn't specifically designed around their use, except internally. It can work, but it opens you up to potentially curious behavior.

Need feature like emojiesand feedback to get rendered in every bot responses

I saw there are emojis attached with every message in microsoft teams.
Is it possible to implement the same scenario in webchat. if yes please help me to achieve it.
i also want a code snippet to render feedback thumbs up and thumbs down button in every bot response.
i need an explanary code snippet using javascript or jquery and a small demo(if possible).
The WebChat is easy to extend, thus your scenario should be possible. There is an example that is close to your needs.
Have a look at the WebChat documentation, sample 09.customization-reaction-buttons. (demo).
Introduces the ability to create custom components for Web Chat that
are unique to your bot's needs. This tutorial demonstrates the ability
to add reaction emoji such as 👍 and 👎 to conversational activities.

Which bot framework to use (if any) for a Kik, Facebook, & Slack messaging bot using javascript?

I'm building a chatbot that will need to be launched on Kik, Facebook, and Slack. I'm unsure of where to start in terms of using a bot framework or whether I should create something custom myself.
I don't believe I will need any NLP. The user is going to be pushed down a very structured path, that will use buttons to guide the users to the next prompts and will also share with the user links and media.
Microsoft Bot Framework seems like the main framework I should look at, but its unclear to me how useful it will be if I end up wanting to deliver responses that are custom to each messaging platform. Meaning, on Facebook I may want to take advantage of a custom feature that they have like buttons or templates and on Kik I will want to take advantage of suggested keyboards.
Any suggestions or guidance is appreciated.
BotFramework will do the translation for you. Write to the BotFramework schema and it will using buttons for Facebook and keyboards for Kik.

How do you create an sms survey application?

I am a newbie sms application developer. I am looking for pointer on how i could develop an interactive survey based sms application. I want to push questions having check boxes, input boxes, radio buttons etc and receive the inputs back at the server.
Any pointers on how this can be achieved and what app services/technologies can be used for achieving the same would be appreciated.
Thanks a lot.
SMS protocol does not support any kind of interactive elements.
You probably want to push in a SMS message containing a link to a mobile site hosting the survey and the interaction happens in the mobile web browser.
Alternatively you can only send 140 character free form questions. However if you send in several questions the users won't answer as typing in many SMS messages is cumbersome.
So your idea of doing it purely on SMS is not feasible. Just create a mobile web site using some CMS with good mobile support and form creation wizards.
E.g http://webandmobile.mfabrik.com/
Disclaimer: I am one of authors
I've been using www.txtlocal.co.uk for quite a while and i'm very satisfied being able to send sms texts through their api. This is commercial service but really worth it's price.
You can use it with all languanges including PHP, ASP, C#.NET, VB.NET, VBA, JAVA, Bulk XML and others.
Simply have a look at code examples: http://www.txtlocal.co.uk/developers/code/
Moreover you can build your own software to process text responses from your clients and even buy your own telephone number.

Resources