botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Sign-In card not rendering in developer version of skype web app - V3

Open gosha1 opened this issue 10 years ago • 3 comments

All other cards are being rendered properly in skype. Also, the sign-in card is displaced correctly in emulator. The below error is shown. When can we expect the card to render properly in skype developer version?

capture

gosha1 avatar Jul 11 '16 07:07 gosha1

Hi @gosha1 , I just did a quick test and can see a sign-in card in Skype Developer version. Can you give more details, what are you trying to sign in to?

danmarshall avatar Jul 11 '16 23:07 danmarshall

@danmarshall , I'm using to send a message back from client, using the Type "imBack". Can you share your sample code for which it's showing in skype? Here's my code. Also, the card rendered properly in emulator.

replyToConversation = activity.CreateReply("sign in card");
                        replyToConversation.Recipient = activity.From;
                        replyToConversation.Type = "message";
                        replyToConversation.Attachments = new List<Attachment>();
                        List<CardAction> sbuttons = new List<CardAction>();
                        CardAction plsButton = new CardAction()
                        {
                            Value = "hello",
                            Type = "imBack",
                            Title = "WikiPedia Page"
                        };
                        sbuttons.Add(plsButton);
                        SigninCard scard = new SigninCard(text: "Hello world", buttons: sbuttons);
                        Attachment sAttachment = scard.ToAttachment();
                        replyToConversation.Attachments.Add(sAttachment);
                        reply = await connector.Conversations.SendToConversationAsync(replyToConversation);

gosha1 avatar Jul 12 '16 10:07 gosha1

Closing this issue. @gosha1 - please open a new issue if this issue is not fixed and needs further discussion. @danmarshall - reopen if necessary. Thanks!

v-thgratMSGit avatar Jul 28 '16 23:07 v-thgratMSGit