Add Mattermost as a supported messaging channel with bot API and WebSocket integration. Includes channel state tracking (tint, summary, details), multi-account support, and delivery target routing. Update documentation and tests to include Mattermost alongside existing channels.
27 lines
904 B
TypeScript
27 lines
904 B
TypeScript
import type { DiscordConfig } from "./types.discord.js";
|
|
import type { IMessageConfig } from "./types.imessage.js";
|
|
import type { MattermostConfig } from "./types.mattermost.js";
|
|
import type { MSTeamsConfig } from "./types.msteams.js";
|
|
import type { SignalConfig } from "./types.signal.js";
|
|
import type { SlackConfig } from "./types.slack.js";
|
|
import type { TelegramConfig } from "./types.telegram.js";
|
|
import type { WhatsAppConfig } from "./types.whatsapp.js";
|
|
import type { GroupPolicy } from "./types.base.js";
|
|
|
|
export type ChannelDefaultsConfig = {
|
|
groupPolicy?: GroupPolicy;
|
|
};
|
|
|
|
export type ChannelsConfig = {
|
|
defaults?: ChannelDefaultsConfig;
|
|
whatsapp?: WhatsAppConfig;
|
|
telegram?: TelegramConfig;
|
|
discord?: DiscordConfig;
|
|
slack?: SlackConfig;
|
|
mattermost?: MattermostConfig;
|
|
signal?: SignalConfig;
|
|
imessage?: IMessageConfig;
|
|
msteams?: MSTeamsConfig;
|
|
[key: string]: unknown;
|
|
};
|