Define allowed users for telegram integration in API.ai - security

Goal: Have a chat bot on telegram that only allows me to talk to my api.ai app
Problem: Using the telegram bot integration, anyone with my bot ID could talk to it
Expected: Some functionality to limit telegram user access by chat ID
Ive come to believe that this isn't possible right now (just using the telegram integration). I'd have to implement this myself, probably using the python SDK for api.ai. Problem is, their docs are nowhere to be found. Hope someone can help me realize this

Related

Microsoft Chat BOT with multiple BOTs integration

I am working on a requirement where we need to create a chat BOT application using Azure BOT service that takes input from the user and based on the response from the user, redirect the user to the chat bot of the particular department.
I would like some suggestions or recommendations on how this can be achieved.
The way to do this is through Bot Framework Skills. You can check for more information on https://learn.microsoft.com/en-us/azure/bot-service/skills-conceptual?view=azure-bot-service-4.0

How to integrate dialogflow chatbot with Microsoft Teams?

I am a newbie to chatbots, and built one agent in dialogflow and written a node server to connect it with my custom UI. Now my next requirement is to integrate this bot with my Microsoft Teams Channel.
For what I have searched there seem to be similar steps being followed as with skype but those didn't make sense to me. Though I am not really clear about it, if anyone can give a step wise points to follow to do the same, it will be great help.
Also just to be clear, can someone confirm if it's really possible to integrate Google's dialogflow with Microsoft's Teams?
I don't know of any official instructions explaining how to connect a Dialogflow bot to Teams, but Skype and Teams both communicate through the Azure Bot Service using the Bot Framework protocol. When a Dialogflow bot connects to Skype what it's really connecting to is the Azure Bot Service, so you should be able to follow the same instructions for any ABS channel, Teams included.

how to create input submit interface in telegram bot (in Facebook bot available)

I am new to Telegram chatbot development. I want to create input interface for Telegram bot like I've given the image above. The above bot in created in Facebook Messanger bot. But I Want to create it in Telegram.
Is there any way to do like that, in Telegram?
or Any other custom way to use along with Telegram?
Please help me to solve the problem.

How to Auth from an external service to the bot framework?

I have an external service with is own database where the users can log in.
Now I have a bot in NodeJS using Bot Builder and the Bot Framework.
I want to link them.
Is there anyway that the bot recognize the users from the other service everytime they open a new conversation and everytime they write something in the bot?
I've just tried with web chat before and I know that with channels that they support like Facebook, Telegram, Skype etc is easy to recognize the users every time they come back, but I don't know how if it is possible to do this with an external service where the users are already logged in and they want to talk with the chatbot.
I don't know how could I generate an authtoken or something that the bot framework read it and recognize the user.
You can use the DirectLine API to allow your bot and a custom client to communicate to each other, a sample can be found here, and here if you want to use WebSockets.
You can also add authentication to your bot via Azure Bot Service to use OAuth as stated here, where you will find samples too.

Typing notification to user in dialogflow chatbot

I have developed a chatbot using dialogflow and hosted my webhook api to firebase cloud. I have integrated this bot to MS Team and Skype where I am able to access the bot from both channels. I have a requirement that I have to show "user typing..." notification to users in the chat window similar to session.sendTyping() having in MSBot. Do we have similar functionality using webhook option?
Any help would be appreciated.
Thank you!
This is not a feature that is built into Dialogflow. If you want to add this, you'll need to use another system to store the state of the focus and receive it on other devices. This could be accomplished through storing the boolean state in Firebase's database, for example.

Resources