Function create_group_dm

Source
pub async fn create_group_dm(
    client: &Client,
    token: &str,
    access_tokens: Vec<&str>,
    nicks: Value,
) -> Result<Value, Box<dyn Error>>
Expand description

Creates a group DM channel.

§Arguments

  • client - The HTTP client used to send the request.
  • token - The bot token for authentication.
  • access_tokens - The OAuth2 access tokens of the users to add.
  • nicks - The nicknames of the users to add.

§Returns

A result containing the created group DM channel information as a JSON value.