EleCho.GoCqHttpSdk 1.3.0

Prefix Reserved
dotnet add package EleCho.GoCqHttpSdk --version 1.3.0                
NuGet\Install-Package EleCho.GoCqHttpSdk -Version 1.3.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EleCho.GoCqHttpSdk" Version="1.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EleCho.GoCqHttpSdk --version 1.3.0                
#r "nuget: EleCho.GoCqHttpSdk, 1.3.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EleCho.GoCqHttpSdk as a Cake Addin
#addin nuget:?package=EleCho.GoCqHttpSdk&version=1.3.0

// Install EleCho.GoCqHttpSdk as a Cake Tool
#tool nuget:?package=EleCho.GoCqHttpSdk&version=1.3.0                

<div align="center"> <img src="logo.png" width="200"/>

EleCho.GoCqHttpSdk

✨ 专为 Go-CqHttp 打造的, 便捷与优雅的通信 SDK ✨

LICENSE nuget nuget

文档 · 下载 · 唠嗑 · 参与贡献

</div>

<br/><br/>

📖 简介:

虽然有很多的 OneBot 通信 SDK, 但没有一个是专为 go-cqhttp 打造的 .NET SDK. 秉持着 C# 的优雅开发理念, 这个库诞生了.

用户可以享受到完全遵守 C# 编码风格, 高度封装的各种接口, 以及优化过命名的接口, 事件, 数据成员, 枚举类型等.

如果你不了解 go-cqhttp, 可以从这里了解一下: go-cqhttp 文档 / go-cqhttp 仓库

🚀 兼容:

EleCho.GoCqHttpSdk 是专为 Go-CqHttp 打造的, 而 Go-CqHttp 又遵循 OneBot11 协议, 所以 EleCho.GoCqHttpSdk 基本也是兼容 OneBot11 的.

✨ 支持

连接协议:

  • 正向 HTTP (CqHttpSession, 发送操作)
  • 反向 HTTP (CqRHttpSession, 接收上报)
  • 正向 WebSocket (CqWsSession, 发送操作与接收上报)
  • 反向 WebSocket (CqRWsSession, 发送操作与接收上报)

消息格式:

  • 字符串 (CQ 码, 支持解析 CQ 码)
  • 数组 (JSON, 支持解析 JSON 格式消息)

📎快速开始

转到 Wiki 页面以查阅文档: EleCho.GoCqHttpSdk Wiki

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on EleCho.GoCqHttpSdk:

Package Downloads
EleCho.GoCqHttpSdk.MessageMatching

EleCho.GoCqHttpSdk 的消息匹配拓展

EleCho.GoCqHttpSdk.CommandExecuting

EleCho.GoCqHttpSdk 的指令执行拓展

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on EleCho.GoCqHttpSdk:

Repository Stars
yiyungent/KnifeHub
🧰 简单易用的效率工具平台
GardenHamster/Theresa3rd-Bot
一个QQ群聊机器人,基于Mirai和GoCQHttp,包括 Pixiv搜索、Pixiv推送、Pixiv日榜、词云、定时提醒、复读机等功能
Alex1911-Jiang/GreenOnions
一个Mirai的QQ机器人, 实现了搜图, RSS订阅转发, 根据PixivID下载原图, 翻译, setu等功能
Version Downloads Last updated
1.3.0 168 8/21/2024
1.2.6 155 8/18/2024
1.2.5 363 12/27/2023
1.2.4 418 9/20/2023
1.2.3 156 9/15/2023
1.2.2 303 7/17/2023
1.2.1 235 7/15/2023
1.2.0 221 7/13/2023
1.1.2 345 6/8/2023
1.1.1 185 6/8/2023
1.1.0 177 6/5/2023
1.0.14 290 5/19/2023
1.0.13 257 5/12/2023
1.0.12 262 4/11/2023
1.0.11 293 3/23/2023
1.0.10 281 3/19/2023
1.0.9 586 3/19/2023
1.0.8 370 3/12/2023
1.0.7 301 3/11/2023
1.0.6 300 3/8/2023
1.0.5 309 2/27/2023
1.0.4 284 2/26/2023
1.0.3 284 2/26/2023
1.0.2 266 2/23/2023
1.0.1 407 2/13/2023
1.0.0 876 2/12/2023
1.0.0-alpha6 233 2/4/2023
1.0.0-alpha5 143 2/4/2023
1.0.0-alpha4 185 1/16/2023
1.0.0-alpha3 166 1/15/2023
1.0.0-alpha2 139 1/13/2023
1.0.0-alpha1 193 5/17/2022