I am trying to implement Siri for chatting or messaging App. and messages will be sent via APIs, How can i wait for the response of web-service and then respond to user via Siri that message has been sent.
I tried to call a webservice, but before getting response Siri is saying "Open APP_NAME". how can we send SMS
And is it possible to read extra parameters in Messaging voice command?
e.g In voice command to send message, User will also mention the Car Number, 1 hour or 2 hours time, and we will format the message with specific criteria, and SMS will be sent to a fixed number to book Parking Slot for Car for 1 hour.
e.g: Send message with APP_NAME to book parking for Car number "A12345 for 1 hour"
We will fetch Car Number, Time Slot, and send a comma separated message to a constant mobile number via SMS
Any suggest if it is feasible by SiriKit in iOS10? and is there any risk Apple will reject this app for above implementation via Messaging Intents?
Related
I have a studio flow that receives chat messages (from Whatsapp) and forward the conversation to Flex.
I'm trying to send a SMS notification to a hard-coded number as this happen.
The issue is that the SMS is never sent and the Send Message widget fails with the following log:
Failure sending message: Chat service or channel parameter missing
I understand that it's probably because the flow has a Chat context and that the widget expects a Chat Service. But I want to send a SMS.
I tried to configure the Send Message widget like this:
SEND MESSAGE FROM and SEND MESSAGE TO set and all other config fields empty
SEND MESSAGE FROM and SEND MESSAGE TO and PROGRAMMABLE CHAT SERVICE with a Messaging Service ID (which doesn't really make sense but hey...)
Neither worked.
How can I send a SMS from a Chat flow in Studio?
I was just able to knock up a quick Studio Flow that receives messages from WhatsApp and sends out an SMS to a hard-coded number and it worked for me. The way I did it was to hard code both the Send message from and Send message to numbers in the Messaging & chat config section of the Send Message widget, like this:
In this case you must ensure that the Send message from number is a Twilio number that is able to send SMS messages.
I am integrating Twilio SMS service where my users are able to send SMS messages to their clients. I would like to be able to link each reply with the sent SMS. In another word, is there any field in the Message Resource that could lead me to conclude whether the incoming message received is related to the outgoing message my user sent previously ? I need same behavior as Email send/reply functionalities.
Twilio developer evangelist here.
There is no way to do this I’m afraid, the SMS protocol has no information about users replying to a specific message. SMS is chronological, you can test this by opening your phone’s SMS app and trying to reply to the second to last message you received from someone. In SMS there’s no way to do that.
The best thing you can do is consider the messages chronologically, and assume that the reply is in response to the last message you sent to that number from the number you sent it from.
I suspect your are interested in this because you need to send notifications and get responses to those notifications and you realised you might need to send more than one notification to a user at a time but still get their responses. The best way to get around this is to use different numbers to send the different notification messages from, then when they reply you can tell which notification they were replying to by the number they sent the message to.
I am sending SMS to the list of million of phone numbers Through twillio notification API.
But I want to keep track about SID against each phone used. so that I can process it further for any phone number.
So what's the better way.
is there a way that allow me to get phone SID by providing phone number to the API.But again there will be issue that sometimes I send multiple messages to the same phone number.
How can I do this. As making twillio notification call to send bulk sms it does not return SID's of every number used in binding
You can use the statusCallback in the Messaging Service Twilio Notify is using to get the Messaging SID's for each. Make sure your server infrastructure can handle the volume of webhooks Twilio returns to it.
If you were to publish to 3 devices in a Topic, how can you get an accurate badge count for each of those 3 devices and pass them through?
e.g.
Device A - unread messages 3
Device B - unread messages 5
Device C - unread messages 10
If i publish a message through to the Topic, each device gets the same payload including the same badge number.
Is it possible to somehow upon receiving the push notification, be able to handle the badge number correctly (if app is in the background) somewhere in the AppDelegate?
Or is the only way to get the correct badge number is sending a message via direct messaging? i.e. instead of sending to a topic, you send to individual device tokens.
Publishers send messages to topics. Once a new message is published, Amazon SNS attempts to deliver that message to every endpoint that is subscribed to the topic.
http://docs.aws.amazon.com/sns/latest/dg/PublishTopic.html
When you publish to a topic, you can supply different formats, but not different messages. All subscribers get the same message. Individualized messages have to be sent directly.
How can I reference the Messages app of apple to my app so I can increment x every time it sends a sms message.
I'm not trying to create an app that sends sms message. It's just a view with a large label that shows a number of how many times I've sent a message from Messages app.