10 lines
230 B
TypeScript
10 lines
230 B
TypeScript
export type TextBasedFeatureHandleMessageSend = (
|
|
message: string,
|
|
channelId: string,
|
|
) => void | Promise<void>;
|
|
|
|
export type TextBasedFeatureInput = {
|
|
channelId: string;
|
|
messagesService: TextBasedFeatureHandleMessageSend;
|
|
};
|