예제 #1
0
        public override async Task <SkillResponse> HandleIntent(SkillRequest skillRequest, IntentRequest intentRequest,
                                                                ILambdaContext context)
        {
            var volumeLevel = int.Parse(intentRequest.GetSlotValue("VolumeLevelSlot"));
            await SpotifyClient.SetVolumeAsync(volumeLevel);

            return(ReturnEmptySkillResponse());
        }