Interface TelegramVerificationRequest

Telegram verification payload sent by bot to node (internal structure for reference) Note: This is handled internally by the bot and node, dApps don't need to construct this

interface TelegramVerificationRequest {
    bot_address: string;
    bot_signature: string;
    signed_challenge: string;
    telegram_id: string;
    timestamp: number;
    username: string;
}

Properties

bot_address: string

Bot's Demos address (must be from genesis)

bot_signature: string

Bot's signature of the entire attestation

signed_challenge: string

User's signature of the challenge

telegram_id: string

Telegram user ID from message context

timestamp: number

Unix timestamp of attestation creation

username: string

Telegram username (optional)