getCheermotes method
Future<HttpResult<OpenApiGetCheermotesResponse> >
getCheermotes({
- required String broadcasterId,
override
Implementation
@override
Future<HttpResult<OpenApiGetCheermotesResponse>> getCheermotes({
required String broadcasterId,
}) {
return client.makeGet(
OpenApiChannelConstants.getCheermotesEndpoint,
convertBodyFunc: (response) =>
OpenApiGetCheermotesResponse.fromHttpResponse(response),
queryParameters: {
OpenApiChannelConstants.queryParamBroadcasterId: broadcasterId,
},
bearerToken: token,
clientId: clientId,
);
}