2018-09-16 08:26:10 +00:00
|
|
|
export interface FE_TelegramBridge {
|
|
|
|
id: number;
|
|
|
|
upstreamId?: number;
|
|
|
|
provisionUrl?: string;
|
|
|
|
sharedSecret?: string;
|
|
|
|
isEnabled: boolean;
|
2018-10-18 03:09:19 +00:00
|
|
|
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;
|
2018-09-16 08:26:10 +00:00
|
|
|
}
|