# Function client::member::redeem_body

> The `invite.redeem` body: the link's secret, the member key and its registration (purpose 2) for the link's community and host. Send it with the link's community as the envelope `c

`zaun_community_protocol::client::member::redeem_body` · Function

```rust
pub fn redeem_body<impl Into<String>>(invite: &InvitePayload, member: &SecretKey, host_challenge: Challenge, display_name: impl Into<String>, now_ms: u64) -> Result<Redeem, BuildError>
```

The `invite.redeem` body: the link's secret, the member key and its registration
(purpose 2) for the link's community and host. Send it with the link's community as the
envelope `community_id`.

# Errors
Signing or body errors (display name length).

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/client/member/fn.redeem_body.html)
