Skip to content

SignalGo/OneSignal-CSharp-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneSignal Logo

OneSignal-CSharp

A General purpose rest ApiClient write in C# language for the OneSignal API

Build status

Install via NuGet

PM> Install-Package OneSignal.CSharp.SDK

How to use

                var client = new OneSignalClient("ZWM3YThlMmQtMzY1NC00ODI1LTlkYjMtMTk3MzI2OTQzMjVh");

                var options = new NotificationCreateOptions();
                options.AppId = Guid.Parse("af447f99-a469-4fa2-a8aa-435bf449900f");
                //options.IncludedSegments = new List<string> { "All" };
                options.Contents.Add(LanguageCodes.English, "salam chetori?");
                options.IncludedPlayerIds = new List<string>() { "4581a321-9ce5-4201-be19-58e3436834c4" };
                var result = client.Notifications.Create(options);

OneSignal Api Oficial Documentation

[OneSignal Server API] (https://documentation.onesignal.com/reference)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published