Function join_thread
Source pub async fn join_thread(
client: &Client,
token: &str,
channel_id: &str,
) -> Result<(), Box<dyn Error>>
Expand description
Joins a thread.
§Arguments
client
- The HTTP client used to send the request.
token
- The bot token for authentication.
channel_id
- The ID of the thread to join.
§Returns
A result indicating success or failure.