The API documentation does not directly mention this possibility:
https://lichess.org/api#tag/challenges/POST/api/challenge/{challengeId}/decline
But it links to a piece of code, which does:
https://github.com/lichess-org/lila/blob/master/translation/source/challenge.xml#L11
I tried using reason="yourXRatingIsTooFarFromY" but it didn't work.
Is it possible to use this decline message ? If so, can it be explained in the doc ?
The API documentation does not directly mention this possibility:
https://lichess.org/api#tag/challenges/POST/api/challenge/{challengeId}/decline
But it links to a piece of code, which does:
https://github.com/lichess-org/lila/blob/master/translation/source/challenge.xml#L11
I tried using reason="yourXRatingIsTooFarFromY" but it didn't work.
Is it possible to use this decline message ? If so, can it be explained in the doc ?