I want to get the Skill Id that is being sent by Alexa to my lambda function but I don't know how to access it within a handler. context.systen.session.application.applicationid is not working because I don't have the context or a event object.
const LaunchRequestHandler = {
canHandle(handlerInput) {
return handlerInput.requestEnvelope.request.type === 'LaunchRequest';
},
handle(handlerInput) {
//????????????????how do I get the skill ID here??????????????
return handlerInput.responseBuilder
.speak('Test Test')
.getResponse();
},
};
const skillId = handlerInput.requestEnvelope.session.application.applicationId;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.