Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ISmallBotConfig

import type { ISmallBotConfig } from "https://raw.githubusercontent.com/cybertim/SmallBotMatrix/main/mod.ts";
interface ISmallBotConfig {
accessToken: string;
eventHandler: (
client: SmallBot,
roomId: string,
) => Promise<void>
;
formatHTMLtoPlain?: (html: string) => string;
homeserverUrl?: string;
logger?: ISmallBotLogger;
syncTimeout?: number;
userId?: string;
}

§Properties

§
accessToken: string
[src]
§
eventHandler: (client: SmallBot, roomId: string, event: MatrixTimelineEvent) => Promise<void>
[src]
§
formatHTMLtoPlain?: (html: string) => string
[src]
§
homeserverUrl?: string
[src]
§
syncTimeout?: number
[src]
§
userId?: string
[src]