telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface ValidateWebAppDataOptions

    Options for validating Telegram Mini App initData.

    interface ValidateWebAppDataOptions {
        maxAgeSeconds?: number;
    }
    Index
    maxAgeSeconds?: number

    Maximum allowed age of the authentication data in seconds. If provided and auth_date is older than now - maxAgeSeconds, validation returns false.

    86400 (24 hours)