{"id":22928069,"url":"https://github.com/ttakahari/slacksharp","last_synced_at":"2025-05-13T01:52:14.886Z","repository":{"id":65414106,"uuid":"131386768","full_name":"ttakahari/SlackSharp","owner":"ttakahari","description":"Slack API clinet library for C#.","archived":false,"fork":false,"pushed_at":"2019-03-10T14:59:56.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-16T01:13:06.950Z","etag":null,"topics":["csharp","slack"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ttakahari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-28T07:50:19.000Z","updated_at":"2019-03-08T10:49:07.000Z","dependencies_parsed_at":"2023-01-22T09:55:11.095Z","dependency_job_id":null,"html_url":"https://github.com/ttakahari/SlackSharp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttakahari%2FSlackSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttakahari%2FSlackSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttakahari%2FSlackSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttakahari%2FSlackSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttakahari","download_url":"https://codeload.github.com/ttakahari/SlackSharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253856619,"owners_count":21974576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","slack"],"created_at":"2024-12-14T09:17:16.257Z","updated_at":"2025-05-13T01:52:14.870Z","avatar_url":"https://github.com/ttakahari.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SlackSharp\n\nSlack API clinet library for C#.\n\nCurrently support for only Incoming WebHooks API.\n\n[![AppVeyor](https://img.shields.io/appveyor/ci/gruntjs/grunt.svg?style=plastic)](https://ci.appveyor.com/project/ttakahari/SlackSharp)\n[![NuGet](https://img.shields.io/nuget/v/SlackSharp.svg?style=plastic)](https://www.nuget.org/packages/SlackSharp/)\n\n## Install\n\nfrom NuGet - [SlackSharp](https://www.nuget.org/packages/SlackSharp/)\n\n```ps1\nPM \u003e Install-Package SlackSharp\n```\n\n## How to use\n\nCreate an instance of `WebHookClient` with a serializer instance implementing `IHttpContentJsonSerializer`.\n\nCall `SendAsync` method with arguments that are Incoming-WebHooks URL and a message.\n\n```csharp\nusing (var client = new WebHookClient(new JsonNetSerializer()))\n{\n    // Simple message\n    {\n        var response = await client.SendAsync(\"[Your Incoming WebHooks URL]\", \"Hello Slack\");\n    }\n\n    // Strcutured message\n    {\n        var payload = new Payload\n        {\n            Channel = \"random\",\n            Username = \"an user\",\n            Text = \"Hello Slack\"\n        };\n\n        var response = await client.SendAsync(\"[Your Incoming WebHooks URL]\", payload);\n    }\n}\n```\n\n## Serialization\n\nProvides serializers implementing [Json.NET](https://github.com/JamesNK/Newtonsoft.Json)(Standard JSON Library of .NET), [Jil](https://github.com/kevin-montrose/Jil)(Fastest Text-Format JSON Library) or [Utf8Json](https://github.com/neuecc/Utf8Json)(Fastest Binary-Format JSON Library).\n\n## Lisence\n\nunder [MIT Lisence](https://opensource.org/licenses/MIT).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttakahari%2Fslacksharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttakahari%2Fslacksharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttakahari%2Fslacksharp/lists"}