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

How to identify which version of Skype client ?

Open JonesAbramoff opened this issue 8 years ago • 6 comments

Issue Description

Skype clients behave differently and I would like to distinguish between them.

For example, if I have a herocard with a button that opens an URL like http://www.zapprices.com/zp779.html?779A9 it will work fine in Android Skype but not in PC Skype 7.41 because this PC version only allows https. It shows the button with the correct link but simply doesn´t work.

Knowing which client Skype version, I would avoid herocard since it wouldn´t work.

JonesAbramoff avatar Apr 26 '18 15:04 JonesAbramoff

Have you checked the UserAgent header? It might contain information about the client that sent the message. I don't know if it will help you differentiate between skype clients, but it is worth a try.

EricDahlvang avatar Apr 27 '18 16:04 EricDahlvang

Hi,

Thanks for your suggestion but UserAgent inside the message is from the Azure Service and not from the client:

Post UserAgent FxVersion/4.7.2563.0 OSName/WindowsServer2016Datacenter OSVersion/6.3.14393 Microsoft.Bot.Connector.ConnectorClient/3.13.1.0 Microsoft-BotFramework/3.1 (BotBuilder .Net/3.13.1.0)

JonesAbramoff avatar Apr 27 '18 17:04 JonesAbramoff

Not official answer...But I think that client version should not be revealed to anyone except the system (even if you're the one that's conversing with the user) since this is a common practice in the IM industry.

austinhuang0131 avatar Apr 27 '18 21:04 austinhuang0131

Hi, I wouldn't need to distinguish between Skype versions if they had the same behaviour besides visual aspects. The same herocard works fine in Android but in pc did not because of http vs https issue.

JonesAbramoff avatar Apr 28 '18 23:04 JonesAbramoff

What I've done in this kind of issues, is to use an URL Shortener like goo.gl which are https.

xjose97x avatar May 02 '18 17:05 xjose97x

Closing this issue. There is not currently a way to differentiate between Skype clients from within a bot.

EricDahlvang avatar May 23 '18 21:05 EricDahlvang