Skip to main content

generate_link

Function generate_link 

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

A join code. Admins only. People join with it, and admins of other groups put their group inside this one with it. max_uses caps how many it lets in; without it, any number can join until it expires. It expires at expires, in the future and at most a year out, or in seven days without it.