handleAction(channel: ProtocolURI, action: StateAction, clientId?: string): void {
const sessionChannel = chatChannel ? parseRequiredSessionUriFromChatUri(chatChannel) : channel;
switch (action.type) {
case ActionType.ChatTurnStarted: {
if (!chatChannel) {
throw new Error(`ChatTurnStarted must be handled on an AHP chat channel: ${channel}`);