Skype channel in Error Status
Using Microsoft Bot Framework I started to use GetBotPerUserInConversationData
Everything works great with webchat and Facebook channels but if message come from Skype I get the following exception:
'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException' in Microsoft.Bot.Connector.dll
I get also amessage about string.this[int], arguments not valid for best matching overlod method.
Here the very simple code:
var state = message.GetBotPerUserInConversationData
My class is Serializable
[Serializable] public class ConversationState { public ConversationState() {
By the way, why the same code works great with all channels except Skype?
Sebastiano
What type are you setting in your call to message.BotPerUserInConversationData = ???. If this is set to a string any subsequent call to message.GetBotPerUserInConversationData("State") will result in that RuntimeBinderException. To avoid this exception make sure you set BotPerUserInConversationData to a valid object type.
Skype channel in Error Status
same problem any solution please

Please add your botId and we'll investigate
Where and how to add botid
i have added my bot id and app secret in web.config but still not working for me please help me
I'm using Microsoft Bot Framework Emulator and its working with my online API, its responding me right but in Skype bot not working it not responding correctly its giving me error

problem

Looks like it's working now. Would you mind sharing what the fix was so others might benefit?
In my Web.config I'm using Bot Registration App ID And App Secret There is the my problem of the getting Forbidden Error
So don't use Bot Registration App ID and App Secret

To Set Web.config take App ID And App Secret from this section given below in image

Closing this issue. Thanks for sharing your fix @inornos! @galazzo - please open a new issue for further discussion if necessary.