sendRawRequest abstract method
- IHttpRoute route,
- String method,
- {dynamic body,
- Map<
String, dynamic> ? headers, - List<
AttachmentBuilder> files = const [], - Map<
String, dynamic> ? queryParams, - bool auth = false,
- bool rateLimit = true}
Used to send a request including standard bot authentication.
Implementation
Future<IHttpResponse> sendRawRequest(IHttpRoute route, String method,
{dynamic body,
Map<String, dynamic>? headers,
List<AttachmentBuilder> files = const [],
Map<String, dynamic>? queryParams,
bool auth = false,
bool rateLimit = true});