• Change your 2FA password

    Parameters

    • client: ITelegramClient
    • params: { currentPassword: string; hint?: string; newPassword: string }
      • currentPassword: string

        Current password as plaintext

      • Optionalhint?: string

        Hint for the new password

      • newPassword: string

        New password as plaintext

    Returns Promise<void>