startChannel method
Starts an existing channel
May throw BadGatewayException.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw GatewayTimeoutException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter channelId :
A request to start a channel
Implementation
Future<StartChannelResponse> startChannel({
required String channelId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/prod/channels/${Uri.encodeComponent(channelId)}/start',
exceptionFnMap: _exceptionFns,
);
return StartChannelResponse.fromJson(response);
}