Skip to main content

invite

Function invite 

Source
pub async fn invite(
    credentials: &Credentials,
    id: &str,
    email: &str,
    options: InviteOptions,
) -> Result<String>
Expand description

Invite an email to a group. Admins only. Nobody joins until they accept the invite with its token (accept_invite), whether or not the email already has a Fauna account, and the answer is the same either way. Fauna emails the invite unless notify is false, so an app can send its own email carrying the token. Resolves to the token.