Function get_thread_member

Source
pub async fn get_thread_member(
    client: &Client,
    token: &str,
    channel_id: &str,
    user_id: &str,
) -> Result<Value, Box<dyn Error>>
Expand description

Gets information about a thread member.

§Arguments

  • client - The HTTP client used to send the request.
  • token - The bot token for authentication.
  • channel_id - The ID of the thread.
  • user_id - The ID of the user to get information for.

§Returns

A result containing the thread member information as a JSON value.