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

Use conversations.open in place of im.open #1989

Merged
merged 1 commit into from
Aug 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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