joinThread method
- Snowflake id
Add the current user to a thread.
Implementation
Future<void> joinThread(Snowflake id) async {
final route = HttpRoute()
..channels(id: id.toString())
..threadMembers(id: '@me');
final request = BasicRequest(route, method: 'PUT');
await client.httpHandler.executeSafe(request);
}