package commonus //更新卡片公共部门 type UpdateTemplateCardPublic struct { Touser string `json:"touser" form:"touser"` ToParty string `json:"toparty" form:"toparty"` ToTag string `json:"totag" form:"totag"` AgentId int64 `json:"agentid" form:"agentid"` ResponseCode string `json:"response_code" form:"response_code"` } //更新按钮为不可点击状态 type UpdateTemplateCardNotClickAll struct { UpdateTemplateCardPublic TemplateCard UpdateButtonTempClickAll `json:"template_card"` } type UpdateTemplateCardNotClick struct { UpdateTemplateCardPublic TemplateCard UpdateButtonTempClick `json:"template_card"` } //更新按钮模板 type UpdateButtonTempClickAll struct { CurrencyButtonTemplateAll ReplaceText string `json:"replace_text" form:"replace_text"` } type UpdateButtonTempClick struct { CurrencyButtonTemplateStruct ReplaceText string `json:"replace_text" form:"replace_text"` } /* 更新模版卡片消息 */ //更新模板卡片通用部门 type UpdateTemplateCardCurrency struct { Userids []string `json:"userids"` //企业的成员ID列表(最多支持1000个) Partyids []int `json:"partyids"` //企业的部门ID列表(最多支持100个) Tagids []int `json:"tagids"` //企业的标签ID列表(最多支持100个) Atall int `json:"atall"` //更新整个任务接收人员 Agentid uint32 `json:"agentid"` //应用的agentid ResponseCode string `json:"response_code"` } //更新按钮为不可点击状态 type UpdateButtonNotClickable struct { UpdateTemplateCardCurrency Button ButtonNotClick `json:"button"` } type ButtonNotClick struct { ReplaceName string `json:"replace_name"` } //模板卡片更新消息 /* 更新点击用户的按钮文案 更新按钮的文案,同时按钮自动变更为不可点击的状态 仅原卡片为按钮交互型、投票选择型、多项选择型的卡片支持更新点击用户的按钮文案 */ type UpdateButtonTemple struct { ToUserName string `ToUserName` }