Skip to content

Decline a challenge for rating difference #595

@lucasart

Description

@lucasart

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions