diff --git a/platforms/platform-alexa/src/AlexaRequest.ts b/platforms/platform-alexa/src/AlexaRequest.ts index 069a40747..736be4391 100644 --- a/platforms/platform-alexa/src/AlexaRequest.ts +++ b/platforms/platform-alexa/src/AlexaRequest.ts @@ -30,6 +30,10 @@ export class AlexaRequest extends JovoRequest { session?: Session; request?: Request; + isOneShot(): boolean { + return this.getInputType() === InputType.Intent && !!this.isNewSession(); + } + getLocale(): string | undefined { return this.request?.locale; }