I am trying to communicate with a Bot built via Power Virtual Agent bot using the "Mobile App" channel as per connect to bot github code .
I am able to get the token allright but the line sometimes returns null
var conversation = await directLineClient.Conversations.StartConversationAsync();
It is a Power Virtual Agent Bot that i am trying to connect to ...
rather than using token in directline constructor, I used the secret and its working fine now. In my case the code is C# running at server so using token isnt an issue thing will be complicated if you are using directline in client side and only option is token then