You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.9 KiB
C#
60 lines
1.9 KiB
C#
|
|
namespace BP.GPM.DTalk.DDSDK
|
|
{
|
|
/// <summary>
|
|
/// SDK使用的URL
|
|
/// </summary>
|
|
public sealed class Urls
|
|
{
|
|
/// <summary>
|
|
/// 创建会话
|
|
/// </summary>
|
|
public const string chat_create = "https://oapi.dingtalk.com/chat/create";
|
|
/// <summary>
|
|
/// 获取会话信息
|
|
/// </summary>
|
|
public const string chat_get = "https://oapi.dingtalk.com/chat/get";
|
|
/// <summary>
|
|
/// 发送会话消息
|
|
/// </summary>
|
|
public const string chat_send = "https://oapi.dingtalk.com/chat/send";
|
|
/// <summary>
|
|
/// 更新会话信息
|
|
/// </summary>
|
|
public const string chat_update = "https://oapi.dingtalk.com/chat/update";
|
|
|
|
/// <summary>
|
|
/// 获取部门列表
|
|
/// </summary>
|
|
public const string department_list = "https://oapi.dingtalk.com/department/list";
|
|
|
|
/// <summary>
|
|
/// 获取访问票记
|
|
/// </summary>
|
|
public const string gettoken = "https://oapi.dingtalk.com/gettoken";
|
|
|
|
/// <summary>
|
|
/// 发送消息
|
|
/// </summary>
|
|
public const string message_send = "https://oapi.dingtalk.com/message/send";
|
|
|
|
/// <summary>
|
|
/// 用户列表
|
|
/// </summary>
|
|
public const string user_list = "https://oapi.dingtalk.com/user/list";
|
|
/// <summary>
|
|
/// 用户详情
|
|
/// </summary>
|
|
public const string user_get = "https://oapi.dingtalk.com/user/get";
|
|
|
|
/// <summary>
|
|
/// 获取JSAPI的票据
|
|
/// </summary>
|
|
public const string get_jsapi_ticket = "https://oapi.dingtalk.com/get_jsapi_ticket";
|
|
/// <summary>
|
|
/// 获取多媒体
|
|
/// </summary>
|
|
public const string get_media = "https://oapi.dingtalk.com/media/get";
|
|
}
|
|
}
|