getChannelEmotes method

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

Implementation

@override
Future<HttpResult<OpenApiGetChannelMediaResponse>> getChannelEmotes({
  required String broadcasterId,
}) {
  return client.makeGet(
    OpenApiChannelConstants.getChannelEmotesEndpoint,
    convertBodyFunc: (response) =>
        OpenApiGetChannelMediaResponse.fromHttpResponse(response),
    queryParameters: {
      OpenApiChannelConstants.queryParamBroadcasterId: broadcasterId,
    },
    bearerToken: token,
    clientId: clientId,
  );
}