Interface TelegramVerificationResponse

Response from Telegram identity verification attempt

interface TelegramVerificationResponse {
    demosAddress?: string;
    message: string;
    success: boolean;
    telegramData?: {
        timestamp: number;
        userId: string;
        username: string;
    };
    unsignedTransaction?: any;
}

Properties

demosAddress?: string

The verified Demos address (only present on success)

message: string

Human-readable message describing the result

success: boolean

Whether the verification was successful

telegramData?: {
    timestamp: number;
    userId: string;
    username: string;
}

The verified Telegram identity data (only present on success)

unsignedTransaction?: any

Unsigned identity transaction to be signed by user (only present on success)