pub fn request_body(
target: RegistrationTarget,
member: &SecretKey,
display_name: impl Into<String>,
note: Option<String>,
now_ms: u64,
) -> Result<Request, BuildError>Expand description
The membership.request body (§8.9) with a purpose-3 registration. Send it with
target.community_id as the envelope community_id (§7.1).
§Errors
Signing or body errors (display name, note length).