You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What package version of the SDK are you using: "botbuilder": "^4.1.7",
What nodejs version are you using: v8.9.3
What os are you using: mac OS X
Describe the bug
microsoftTeams chat doesn't work with createConversation
Documentation says that I can create a direct conversation with a user after he/she mentioned the bot using
BotFrameworkAdapter.createConversation(address, logic); example from documentation:
const reference = TurnContext.getConversationReference(context.activity);
// Start a new conversation with the user
await adapter.createConversation(reference, async (ctx) => {
await ctx.sendActivity(`Hi (in private)`);
});
but the actual behavior I get is exception "Could not parse tenant id"
I tried to research the problem
I have noticed the line:
botbuilder-core/botFrameworkAdapter.ts 229:
Then I performed a "monkey patch" (replacing the method) in which I've added { ..., channelData: { tenant: { id: %actual_tenant_id% } } } in that line
to parameters. After that everything is okay. How should I fix this the right way?
[bug]
The text was updated successfully, but these errors were encountered:
Versions
What package version of the SDK are you using: "botbuilder": "^4.1.7",
What nodejs version are you using: v8.9.3
What os are you using: mac OS X
Describe the bug
microsoftTeams chat doesn't work with
createConversation
Documentation says that I can create a direct conversation with a user after he/she mentioned the bot using
BotFrameworkAdapter.createConversation(address, logic);
example from documentation:
but the actual behavior I get is exception "Could not parse tenant id"
I tried to research the problem
I have noticed the line:
botbuilder-core/botFrameworkAdapter.ts 229:
Then I performed a "monkey patch" (replacing the method) in which I've added
{ ..., channelData: { tenant: { id: %actual_tenant_id% } } }
in that lineto parameters. After that everything is okay. How should I fix this the right way?
[bug]
The text was updated successfully, but these errors were encountered: