Interface CreateTemporaryPassword

Creates a new temporary password for processing payments. Request type for Tdjson#createTemporaryPassword.

interface CreateTemporaryPassword {
    @type: "createTemporaryPassword";
    password: string;
    valid_for: number;
}

Properties

@type: "createTemporaryPassword"
password: string

The 2-step verification password of the current user.

valid_for: number

Time during which the temporary password will be valid, in seconds; must be between 60 and 86400.