Reputation: 758
I wanted to know if it's possible to use a sip:
or tel:
endpoint in a Skype bot. So something like a hero card having a button called "Contact us" and the button having hyperlink like sip:[email protected] and clicking on the button would open a new Skype chat window.
I tried doing the above but the button is not clickable in Skype. So is there a way to achieve this?
Update: I figured out one bit. It works if I use skype:
instead of sip:
or call:
. However, it makes a phone call straightaway instead of opening a chat window to chat. How do I default it to chat than a Skype call.
Upvotes: 0
Views: 161
Reputation: 758
I figured it out. sip:
isn't the right thing to use. skype:
is. But using skype:
would default to a Skype call being made, so you would need a ?chat
parameter.
My code looked something like:
builder.CardAction.openUrl(session, 'skype:[email protected]?chat', 'Contact Us'),
Upvotes: 1