I am using slack with dialogflow fulfillment to create a chat bot.
Can userA send a message to dialogflow and dialogflow return a response to userB?
This is not possible, the WebHook responses goes in the conversation which originates the call.
You can create a custom logic (in your Webhook) to initiate a message to another user. This depends on the Channel, for example with the Telegram API you can notify a user having his/her chat ID.
Related
I have integrated Rasa and google chat and able to receive a response in google chat. I am trying to get the user email id of every request I received from google chat. I am not sure how to get the user object from the response as mentioned in google chat API. It will be helpful if you can help me out.
Thanks a lot
the hangouts channel has a method called _extract_sender, see https://github.com/RasaHQ/rasa/blob/master/rasa/core/channels/hangouts.py#L209
If that isn't fetching the ID that you need, you can maybe add a similar method to the channnel that extracts the email ID from the request JSON
Is it possible to send messages as a real user (not a page. For example myself) to another user using the Facebook Graph API?
In other words, can I create an app that will make an API call which will send a message as myself to a friend of mine (as if I have sent it myself)
The send and conversation API seems to be only about sending and receiving messages as a page
No, there is only an API for Page to User communication, but not for User to User communication.
I'm working on Facebook Messenger chatbot and I've found documentation about Facebook Page Subscription Messaging. This feature allow your bot to send messages to users, outside of the "stardard" 24 hours messaging.
Facebook's documentation explains what is Subscription Messaging
but I've not found more details about how implement it.
My questions:
Is there any back-office to be able to send this kind of message ? For example to allow a Community Manager to send this messages
In the case where to do code is mandatory, I suppose I have to build a Facebook's users list and use it to send "Subscription Message" type to each. Can I send these messages to these users at the same time or I have to do some packets or add a small timeout between each messages ?
What happends if I send a "Subscribe Message" to an user who have unsubscribed to my bot's messages ?
Thanks !
I'm writing my facebook-chatbot and i need to register users who are turned off receiving messages from my bot. Is there any facebook webhook event, when user blocks bot messages? I need event like vk api message_deny.
There is no way to explicitly tell that the user blocked your bot, but as #CBroe mentioned in this comment, you will get an error response from the API when the message fails to be delivered.
When call this API then getting below error
https://skype.botframework.com/v3/conversations/29%3Adg_yugtechno/activities
{"error":{"code":"BadArgument","message":"Failed to decrypt conversation id"}}