EOH.Robot
0.1.2024.311
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package EOH.Robot --version 0.1.2024.311
NuGet\Install-Package EOH.Robot -Version 0.1.2024.311
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="EOH.Robot" Version="0.1.2024.311" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EOH.Robot --version 0.1.2024.311
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EOH.Robot, 0.1.2024.311"
#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 EOH.Robot as a Cake Addin #addin nuget:?package=EOH.Robot&version=0.1.2024.311 // Install EOH.Robot as a Cake Tool #tool nuget:?package=EOH.Robot&version=0.1.2024.311
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EOH.Robot
介绍
企业微信、钉钉、WeLink机器人对接SDK<br> 注:WeLink只支持文本消息
使用说明
var robot = new RobotService();
//WeLink
robot.Send("https://open.welink.huaweicloud.com/api/werobot/v1/webhook/send?token=*******&channel=standard", new WeLinkMessageAgrs {
content = new WeLinkMessageAgrs.Content { text = "测试消息" },
timeStamp = DateTime.Now.ToLong(),
uuid = Guid.NewGuid().ToString("N"),
isAt = false,
IsAtAll = true,
});
//企业微信
robot.Send("https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=*******", new WeiXinMessageAgrs
{
msgtype = "text",
text = new WeiXinMessageAgrs.Text
{
content = "测试消息",
mentioned_list = new List<string> { "@all" },
}
});
//钉钉
robot.Send("https://oapi.dingtalk.com/robot/send?access_token=*******", new DingTalkMessageAgrs
{
msgtype = "text",
text = new DingTalkMessageAgrs.Text
{
content = "测试消息",
},
at = new DingTalkMessageAgrs.At { isAtAll = true }
});
贡献
欢迎贡献代码、报告问题和提供建议!请在 Gitee/GitHub 项目中提交 Issue 或 Pull Request。
许可
本项目基于 MIT 许可进行分发和使用。详细信息请查阅 LICENSE 文件。
作者
作者:荣少<br> 邮箱:ligengrong@hotmail.com<br> QQ群:7405133
🏅开源地址
🧧 赞赏作者
你的赞赏就是我前进的动力🏃,
如果EOH.Robot给你带来了不少便利,
那就请作者喝杯咖啡☕吧。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | 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.1
- NewLife.Core (>= 10.7.2024.202)
-
net5.0
- NewLife.Core (>= 10.7.2024.202)
-
net6.0
- NewLife.Core (>= 10.7.2024.202)
-
net7.0
- NewLife.Core (>= 10.7.2024.202)
-
net8.0
- NewLife.Core (>= 10.7.2024.202)
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 | |
---|---|---|---|
0.3.2024.315 | 164 | 3/15/2024 | |
0.3.2024.311 | 104 | 3/11/2024 | |
0.2.2024.311 | 116 | 3/11/2024 | |
0.2.2024.308 | 139 | 3/8/2024 | |
0.1.2024.315 | 123 | 3/15/2024 | |
0.1.2024.311 | 102 | 3/11/2024 | |
0.1.2024.308 | 136 | 3/8/2024 | |
0.1.2024.227 | 133 | 2/27/2024 | |
0.1.2024.222 | 120 | 2/22/2024 |
企业微信;钉钉;WeLink;webhook;机器人;Robot;