namespace BP.GPM.DTalk.DDSDK { /// /// SDK使用的URL /// public sealed class Urls { /// /// 创建会话 /// public const string chat_create = "https://oapi.dingtalk.com/chat/create"; /// /// 获取会话信息 /// public const string chat_get = "https://oapi.dingtalk.com/chat/get"; /// /// 发送会话消息 /// public const string chat_send = "https://oapi.dingtalk.com/chat/send"; /// /// 更新会话信息 /// public const string chat_update = "https://oapi.dingtalk.com/chat/update"; /// /// 获取部门列表 /// public const string department_list = "https://oapi.dingtalk.com/department/list"; /// /// 获取访问票记 /// public const string gettoken = "https://oapi.dingtalk.com/gettoken"; /// /// 发送消息 /// public const string message_send = "https://oapi.dingtalk.com/message/send"; /// /// 用户列表 /// public const string user_list = "https://oapi.dingtalk.com/user/list"; /// /// 用户详情 /// public const string user_get = "https://oapi.dingtalk.com/user/get"; /// /// 获取JSAPI的票据 /// public const string get_jsapi_ticket = "https://oapi.dingtalk.com/get_jsapi_ticket"; /// /// 获取多媒体 /// public const string get_media = "https://oapi.dingtalk.com/media/get"; } }