Alexa.NET.SkillMessaging 1.1.0

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

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.

Alexa.NET.SkillMessaging

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

Gain access to Skill Messaging OAuth Token

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

&nbsp;

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);

&nbsp;

Add support for Skill Messaging requests

 RequestConverter.RequestConverters.Add(new MessageReceivedRequestTypeConverter());

Alexa.NET.SkillMessaging

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

Gain access to Skill Messaging OAuth Token

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

&nbsp;

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);

&nbsp;

Add support for Skill Messaging requests

 RequestConverter.RequestConverters.Add(new MessageReceivedRequestTypeConverter());

Release Notes

update to netstandard2.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 492 8/10/2019
1.0.2 863 1/26/2018
0.1.3-pre 354 12/19/2017
0.1.0-pre 531 12/19/2017