I am trying to display a card (or list of links ) to my Skype, Slack or Messenger users with some postBack actions.
Herocard works fine, they display the buttons with the text like in this example:
IMessageActivity replyMessage = context.MakeMessage();
replyMessage.Attachments.Add(
new HeroCard
{
Subtitle = "Settings",
Buttons = new List<CardAction> {
new CardAction(ActionTypes.ImBack, $"Spell-check {spellcheckst}", value: $"Set Spell-check setting {spellcheckst}", text: $"Spell-check {spellcheckst}", displayText: $"Spell-check {spellcheckst}"),
new CardAction(ActionTypes.ImBack, $"Small-talk {smalltalkst}", value: $"Set Small-talk setting {smalltalkst}", text: $"Small-talk {smalltalkst}", displayText: $"Small-talk {smalltalkst}")
}
}.ToAttachment()
);
await context.PostAsync(replyMessage);
But buttons take a lot of screen real estate and many times their captions are truncated.
Is there a way to trigger a postBack or imBack card action without displaying buttons. Here is an example scenario, when the User asks for Help, the Bot displays list of commands:
The "Try Me" links would postBack to the bot exactly as the buttons above do.
Is this possible to do?
Thanks
