Versions in this module Expand all Collapse all v1 v1.5.0 Jan 6, 2022 Changes in this version + const DINGTALKMESSAGETYPE_ACTIONCARD + const DINGTALKMESSAGETYPE_FILE + const DINGTALKMESSAGETYPE_IMAGE + const DINGTALKMESSAGETYPE_LINK + const DINGTALKMESSAGETYPE_MARKDOWN + const DINGTALKMESSAGETYPE_OA + const DINGTALKMESSAGETYPE_TEXT + const DINGTALKMESSAGETYPE_VOICE + const DINGTALK_OAPI_DOMAIN + func CreateNativeClient() (client *dingtalkoauth2_1_0.Client, err error) + func GetAccessToken(appKey, appSecret string) (accessToken string, expireIn int64, err error) + func GetUserIdByMobile(accessToken string, mobile string) (userId string, err error) + func SendCorpConversationMarkdownMessage(accessToken string, agentId int64, userIds []string, title, content string) error + type DingtalkBaseResponse struct + ErrCode int + ErrMsg string + type DingtalkMessageObj struct + Markdown MarkdownMessage + MsgType DingtalkMessageType + type DingtalkMessageType string + type GetUserIdByMobileRequest struct + Mobile string + type GetUserIdByMobileResponse struct + Result struct{ ... } + type MarkdownMessage struct + Text string + Title string + type SendCorpConversationMarkdownMessageRequest struct + AgentId int64 + Msg DingtalkMessageObj + ToAllUser bool + UseridList string + type SendCorpConversationMarkdownMessageResponse struct + TaskId int64