interface IVerificationChannel {
    deviceId?: string;
    receiveStartFromOtherDevices?: boolean;
    request?: VerificationRequest<IVerificationChannel>;
    roomId?: string;
    transactionId?: string;
    userId?: string;
    canCreateRequest(type: string): boolean;
    completeContent(
        type: string,
        content: Record<string, any>,
    ): Record<string, any>;
    completedContentFromEvent(event: MatrixEvent): Record<string, any>;
    getTimestamp(event: MatrixEvent): number;
    handleEvent(
        event: MatrixEvent,
        request: VerificationRequest<IVerificationChannel>,
        isLiveEvent: boolean,
    ): Promise<void>;
    send(type: string, uncompletedContent: Record<string, any>): Promise<void>;
    sendCompleted(type: string, content: Record<string, any>): Promise<void>;
}

Implemented by

Properties

deviceId?: string
receiveStartFromOtherDevices?: boolean
roomId?: string
transactionId?: string
userId?: string

Methods