Well, in the beginning I have to describe that kind of case I want implement:
I implementing a skype bot that will be create and send conversation link to users as basic card with button. I need to create invitation link into a conversation for users. The bot does not have to be a participant in the conversation.
What I write for it:
BasicCard basicCard = new BasicCard()
.withTitle("Title")
.withButtons(Collections.singletonList(new CardAction()
.withType(ActionTypes.OPEN_URL)
.withTitle("Button text")
.withValue("skype:28:long-id-separated-hyphen-bot;29:long-id-separated-hyphen-user1;29:long-id-separated-hyphen-user2?chat&topic=Conv%20Name")
));
Attachment attachment = new Attachment()
.withContentType("application/vnd.microsoft.card.hero")
.withContent(basicCard);
Activity activity = new Activity()
.withType(ActivityTypes.MESSAGE)
.withFrom(botAccount)
.withRecipient(account1)
.withAttachments(Collections.singletonList(attachment));
connector.get().conversations().sendToConversation("29:long-id-separated-hyphen-user1", activity);
And send it to the user1, but link doesn`t work.
I use https://learn.microsoft.com/en-us/skype-sdk/skypeuris/skypeuriapireference and in this documentation, was written what I need just create link like this skype:28:long-id-separated-hyphen-bot;29:long-id-separated-hyphen-user1;29:long-id-separated-hyphen-user2?chat&topic=Conv%20Name, but it doesn`t work..
May be I don`t understand what the link should look like for creating and adding users to the conversation.
If I can`t create link for invitation users into conversation, how can I create group conversation and invite some peoples to that conversation? (All users has conversation with bot and I know theirs ids(29:long-id-separated-hyphen-user) and live ids(8:user-id))
Can anyone explain?