if (otrng_failed(otrng_build_query_message(&ret, msg, conv->conn))) {
// TODO: @client This should come from the client (a callback maybe?)
// because it knows in which language this should be sent, for example.
char *error = otrng_xstrdup(
"Failed to start an Off-the-Record private conversation.");
return error;
}
As seen here: https://github.com/otrv4/libotr-ng/blob/master/src/client.c#L274