2captcha-0.1.0.0: Haskell package for easy integration with the 2captcha API.
Safe HaskellNone
LanguageHaskell2010

TwoCaptcha.Internal.Types.GridCaptcha

Synopsis

Documentation

gridCaptcha :: GridCaptcha Source #

Parameters for solving a grid captcha.

Required parameters:

Optional parameters:

Possible method values:

  • post - defines that you're sending an image with multipart form
  • base64 - defines that you're sending a base64 encoded image

Starred required parameter rules:

  • file is only required if captcha = "post"
  • body is only required if captcha = "base64"

reCAPTCHAImage :: Lens' GridCaptcha (Maybe Bool) Source #

Defines that you're sending a reCAPTCHA as an image.

canvas :: Lens' GridCaptcha (Maybe Bool) Source #

Defines that you want to use a canvas method.

rows :: Lens' GridCaptcha (Maybe Int) Source #

Number of rows in reCAPTCHA grid.

columns :: Lens' GridCaptcha (Maybe Int) Source #

Number of columns in reCAPTCHA grid.

previousId :: Lens' GridCaptcha (Maybe Text) Source #

Id of your previous request with the same captcha challenge.

cannotAnswer :: Lens' GridCaptcha (Maybe Bool) Source #

Defines if the captcha can potentially have no images, or possibly cannot be answered.