Alexa.NET.SkillMessaging 1.1.0

Install-Package Alexa.NET.SkillMessaging -Version 1.1.0
dotnet add package Alexa.NET.SkillMessaging --version 1.1.0
<PackageReference Include="Alexa.NET.SkillMessaging" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Alexa.NET.SkillMessaging --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Alexa.NET.SkillMessaging, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Alexa.NET.SkillMessaging as a Cake Addin
#addin nuget:?package=Alexa.NET.SkillMessaging&version=1.1.0

// Install Alexa.NET.SkillMessaging as a Cake Tool
#tool nuget:?package=Alexa.NET.SkillMessaging&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Alexa.NET.SkillMessaging

A simple .NET Core library for handling skill mesaging to Alexa skills  

Gain access to Skill Messaging OAuth Token

var client = new AccessTokenClient(AccessTokenClient.ApiDomainBaseAddress);
var accessToken = await client.Send(clientId,clientSecret);
var oauthToken = accessToken.Token;

 

Send Message to Skill

var payload = new Dictionary<string, string>{ {"testKey", "testValue"} };

var messages = new Alexa.NET.SkillMessageClient(Alexa.NET.SkillMessageClient.EuropeEndpoint, oauthToken);
var messageToSend = new Alexa.NET.SkillMessaging.Message(payload,300);

var messageId = await messages.Send(messageToSend, userId);

 

Add support for Skill Messaging requests

 RequestConverter.RequestConverters.Add(new MessageReceivedRequestTypeConverter());
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 3,745 8/10/2019
1.0.2 1,247 1/26/2018
0.1.3-pre 614 12/19/2017
0.1.0-pre 805 12/19/2017

update to netstandard2.0