getEmoteSets method

  1. @override
Future<HttpResult<OpenApiGetChannelMediaResponse>> getEmoteSets({
  1. required String emoteSetId,
})
override

Implementation

@override
Future<HttpResult<OpenApiGetChannelMediaResponse>> getEmoteSets({
  required String emoteSetId,
}) {
  return client.makeGet(
    OpenApiChannelConstants.getEmoteSetsEndpoint,
    convertBodyFunc: (response) =>
        OpenApiGetChannelMediaResponse.fromHttpResponse(response),
    queryParameters: {
      OpenApiChannelConstants.queryParamEmoteSetId: emoteSetId,
    },
    bearerToken: token,
    clientId: clientId,
  );
}