-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { IHttp, IModify, IPersistence, IRead } from '../accessors'; | ||
import { IRoom } from './IRoom'; | ||
|
||
/** Handler for after a dm room with Bot is created. */ | ||
export interface IPostBotRoomCreate { | ||
/** | ||
* Method called *after* the room has been created. | ||
* | ||
* @param room The room which was created | ||
* @param read An accessor to the environment | ||
* @param http An accessor to the outside world | ||
* @param persistence An accessor to the App's persistence | ||
*/ | ||
executePostBotRoomCreate(room: IRoom, read: IRead, http: IHttp, persistence: IPersistence, modify: IModify): Promise<void>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters