I have created my own middleware to extract the conversation between the bot and the user using OnturnAsync, but I cannot extract the text from a card sent by the bot. How can I do it?
Related
I connected the dialogflow bot to the telegram chat and it responds to user messages but without specifying their names and periodically determines random words from the text of the message as the user names.
How to set up a dialogflow bot in the telegram chat so it receives not only messages, but the message sender user names too?
When using Dialogflow with Telegram, Telegram already provides you a unique id for every Telegram user. Try to output the body request from Telegram and then catch that uniqueid value.
I checked through the telegram webhook - the username is indeed sent to the bot with the message.
Probably the problem is in the telegram integration code of the dialogflow-es bot.
Chatbot need to get files from the user (from Skype channel) and then save it into database
I haven't find any sample code or any document related to this requirement.
I have found out the this could be achieved using events. e.g. whenever user upload a file, treat it as a events and then trigger the intent and do the coding in fulfillment as per the requirement.
In case of facebook messenger, there is events "FACEBOOK_MEDIA", but what should I use in skype channel.
I have a Telegram channel and a Telegram bot using Node.js and PSQL. With a command (for example /how), I need to return to the user the number of user which has been invited to the channel by this user (and has joined).
How can I retrieve this list of users ?
If by "invited" you mean users who sent others a link to the channel then Telegram API does not provide such functionality.
However, channel administrators can add users to the channel and those should be sent as regular Message updates with new_chat_members field set, all you have to do is log those updates to the database and then fetch it with your command.
I created a Facebook chatbot to send poactivate message based on this sample https://github.com/Microsoft/BotBuilder-Samples/tree/master/Node/core-proactiveMessages. But I found it only works with the latest user interact with the Bot via Facebook Messager. I want to send the message to all users who have been interactive with bot. Any suggestions?
Currently i am using slack channel with bot builder.
I want to use email channel, is there any sample code for this.
What is effective way to send email from bot to avoid spam
I am using node js
There's no extra code needed for the email channel. Your bot will reply to the body of an email it receives. You can add things like channel specific code if you like. Right now only office 365 emails will work, please read the documentation here
The bot will reply to an email sent to the registered email address with an email where the body is the same message that you would see as a response in other channels like slack, emulator, etc