sendRawRequest abstract method

Future<IHttpResponse> sendRawRequest(
  1. IHttpRoute route,
  2. String method,
  3. {dynamic body,
  4. Map<String, dynamic>? headers,
  5. List<AttachmentBuilder> files = const [],
  6. Map<String, dynamic>? queryParams,
  7. bool auth = false,
  8. 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});