feat: add beta googlechat channel
This commit is contained in:
committed by
Peter Steinberger
parent
60661441b1
commit
b76cd6695d
@@ -155,6 +155,15 @@ export function resolveDiscordGroupRequireMention(params: GroupMentionParams): b
|
||||
return true;
|
||||
}
|
||||
|
||||
export function resolveGoogleChatGroupRequireMention(params: GroupMentionParams): boolean {
|
||||
return resolveChannelGroupRequireMention({
|
||||
cfg: params.cfg,
|
||||
channel: "googlechat",
|
||||
groupId: params.groupId,
|
||||
accountId: params.accountId,
|
||||
});
|
||||
}
|
||||
|
||||
export function resolveSlackGroupRequireMention(params: GroupMentionParams): boolean {
|
||||
const account = resolveSlackAccount({
|
||||
cfg: params.cfg,
|
||||
|
||||
@@ -32,6 +32,9 @@ export type ChannelSetupInput = {
|
||||
httpHost?: string;
|
||||
httpPort?: string;
|
||||
webhookPath?: string;
|
||||
webhookUrl?: string;
|
||||
audienceType?: string;
|
||||
audience?: string;
|
||||
useEnv?: boolean;
|
||||
homeserver?: string;
|
||||
userId?: string;
|
||||
@@ -121,6 +124,11 @@ export type ChannelAccountSnapshot = {
|
||||
tokenSource?: string;
|
||||
botTokenSource?: string;
|
||||
appTokenSource?: string;
|
||||
credentialSource?: string;
|
||||
audienceType?: string;
|
||||
audience?: string;
|
||||
webhookPath?: string;
|
||||
webhookUrl?: string;
|
||||
baseUrl?: string;
|
||||
allowUnmentionedGroups?: boolean;
|
||||
cliPath?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user