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