Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Use conversations.open in place of im.open
Browse files Browse the repository at this point in the history
  • Loading branch information
ball-hayden committed Jul 4, 2020
1 parent 848712b commit 6643a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/botbuilder-adapter-slack/src/botworker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class SlackBotWorker extends BotWorker {
*/
public async startPrivateConversation(userId: string): Promise<any> {
// create the new IM channel
const channel: any = await this.api.im.open({ user: userId });
const channel: any = await this.api.conversations.open({ users: userId });

if (channel.ok === true) {
// now, switch contexts
Expand Down

0 comments on commit 6643a02

Please sign in to comment.