mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
c0936745c0
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
448 B
TypeScript
21 lines
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;
|
|
} |