Skip to main content

create_accepted

Function create_accepted 

Source
pub async fn create_accepted(
    ctx: &Ctx,
    who: &Identity,
    dest_name: &str,
    req: &Request,
) -> ApiResult<(ChallengeRow, (i32, i32))>
Expand description

A challenge accepted at once on the opponent’s behalf (the computer).