Requires https://github.com/tulir/mautrix-telegram/pull/235 Puppeting is scheduled to be handled in https://github.com/turt2live/matrix-dimension/issues/214 The TODO comments about asking for unbridge/permission denied will be handled in a later commit.
21 lines
No EOL
448 B
TypeScript
21 lines
No EOL
448 B
TypeScript
export interface FE_TelegramBridge {
|
|
id: number;
|
|
upstreamId?: number;
|
|
provisionUrl?: string;
|
|
sharedSecret?: string;
|
|
isEnabled: boolean;
|
|
options?: FE_TelegramBridgeOptions;
|
|
}
|
|
|
|
export interface FE_PortalInfo {
|
|
bridged: boolean;
|
|
chatId: number;
|
|
roomId: string;
|
|
canUnbridge: boolean;
|
|
chatName: string;
|
|
}
|
|
|
|
export interface FE_TelegramBridgeOptions {
|
|
allowTgPuppets: boolean;
|
|
allowMxPuppets: boolean;
|
|
} |