I have integrated my app with Twitter through Smooch. And i am sending multiple messages containing multiple actions of postback type. Twitter is just showing options for the last message though all the message texts are listed in the chat dialog.
Twitter doesn't have native support for carousels as a message type. The experience you see on Twitter is sort of Smooch's best effort at rendering the content. In the case of postback buttons, they fall back to a text-only implementation as "You can say: X, Y", and expect a user response to trigger it. The reason they only render for the last message in the series is because multiple carousel items could have the same text "X", so if the user were to reply with X, you wouldn't know which carousel item they are referring to.
Basically, sending carousels on Twitter is not fully supported, especially in the case of postback buttons. See https://docs.smooch.io/guide/channel-capabilities/ for capability support on different channels
Related
I am trying to create a teams app that will detect the message that user has typed in before the message is sent on clicking the send button or on the send button click event or before the recipient receives the message. The idea is to read the message and using AI grammatically correct the text or detect if any inappropriate message is being sent that violets office rules, kind of like Grammarly. My question is it possible to detect this text through any possible means like graph api. i am open to any suggestion, not just teams app it can be some kind of windows application that can interact with teams app . Will be taking care of AI part myself.
This isn't supported, there is no No event when user is typing message. You can get an event when user sends the message. For more info here
My application (a DMS client) has strong ties to Microsoft technology, so my customers are on average much more likely to run Outlook for iOS than the default iOS Mail client.
However, Outlook does not respond to the MFMailComposeViewController, so that basically leaves two approaches on the table for sending email from the app:
Use the msoutlook:// URL scheme to open Outlook. This supports pre-populating recipients, subject, and a HTML styled body text, apparently without a maximum length. However, it does not seem to support attachments.
Use the UIActivityViewController (i.e. the "sharing" interface), which does allow for attachments (hurray!), but I don't know if it's possible to pre-populate any of the fields other than the content...and the sharing dialog itself is really unpleasant UI, interrupting the user flow with a complex choice.
Word (for iOS) presents the user with the following flow that directly opens a document as an attachment to a new email in Outlook. Assuming they don't use any private APIs, how are they doing that?
I'm using the "incoming webhooks" feature of Slack to post notifications to a channel. I'm also using the "icon_emoji" feature to decorate the messages and to highlight the different types of messages. However I find that the image doesn't show up consistently:
Ie. only when it says BOT does the image also show up.
Any ideas what the issue is? Ideally I would like for the image to show up each message so that they can be scanned easily (some messages are more informative and others need to be acted upon in a timely manner).
Slack is automatically consolidating consecutive messages that are sent within a certain time frame. So the bot icon will show for the first message only and consecutive messages will display beneath the first without the bot icon.
This is standard behavior of Slack and works the same for user messages. Don't believe there is any way to turn that off.
So a rather peculiar issue is occurring. I work for a News company and we have a mobile app. We allow our users to share stories, and we utilize the "sms:&body=..." method of sending a user from html link -> messages app with a pre-populated text. This works fine. The issue that's happening is that, let's say a user clicks our 'Text' link, and they get redirected to the messages app with the pre-populated text filled. But let's say the user doesn't send any text or cancel it, and goes back to our app via the little '<' button in the status bar, and then tries to text another story, the pre-populated text is not updated and still uses the old pre-populated text. Is there any way we can tell messages to update with the new body text?
I have noticed though, if you 'cancel' the text then it works fine.
Here's my current code
Xamarin.Forms.Device.OpenUri(new System.Uri("sms:&body=" + ShareSMSText));
How do I trigger a programmatic post to a specific person's Facebook wall so that it looks like this (but replace GO TRY IT ON with my app):
I do not want this to be a generic post to the world. I want this targeted to the specific user's wall whom I specify. I want to include a specific message. I already have social discovery for my app enabled (meaning that I can see my app when I search facebook on my iPhone, and I see it in my list of apps such that I can tap the row and launch my app from facebook).
Looks like you want to familiarize yourself with the concept of the Open Graph -> https://developers.facebook.com/docs/opengraph/
product is obviously an object defined in that apps open graph settings, and suggesting is an action that can be undertaken with products.
So what you've shown us in this picture is not a normal post, it's the publication message of an Open Graph action.
But I'm not aware of any simple way to make this publication visible only to one user. The general visibility is set by the user in the auth dialog for your app. I don't know if there's a way to further restrict visibility for a single action publication, maybe by dynamically creating a friendlist with only that one user in it or something …