ISmallBotConfig
import type { ISmallBotConfig } from "https://raw.githubusercontent.com/cybertim/SmallBotMatrix/main/lib/ISmallBot.ts";
interface ISmallBotConfig {
accessToken: string;
eventHandler: (
client: SmallBot,
roomId: string,
event: MatrixTimelineEvent,
) => Promise<void>;formatHTMLtoPlain?: (html: string) => string;
homeserverUrl?: string;
logger?: ISmallBotLogger;
store?: ISmallBotStore;
syncTimeout?: number;
userId?: string;
}§Properties
§
eventHandler: (client: SmallBot, roomId: string, event: MatrixTimelineEvent) => Promise<void>
[src]§
logger?: ISmallBotLogger
[src]§
store?: ISmallBotStore
[src]