How to get the Skype username using skype calling feature

276 views Asked by At

I am working on Bot Technology, in my current bot project I implemented the skype calling feature using calling controller. everything working fine, but I have struggled for getting the skype username (like who are logged into skype) in CallingController.cs or some other classes.

In MessagesController.cs , I know for getting the skype username by using this line.

var username = activity.From.Name.ToString();

Can you please tell me how to get the skype username using skype calling feature not in MessagesController.

-Pradeep

1

There are 1 answers

2
Ezequiel Jadib On

I think that you might be able to get the identity of the user by checking the Participants collection of the Conversation object, right after the incoming call is received.

You can read more of the Skype Calling API here.