getChannelEmotes method
Future<HttpResult<OpenApiGetChannelMediaResponse> >
getChannelEmotes({
- 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,
);
}