Versions in this module Expand all Collapse all v1 v1.2.3 Jun 23, 2022 Changes in this version + func Decrypt(receiveid, encodingAESKey, cipherText string) ([]byte, error) + func Encrypt(receiveid, encodingAESKey, nonce string, plainText []byte) ([]byte, error) + func SignWithSHA1(token string, items ...string) string + type ChangeType string + const ChangeCreateDepartment + const ChangeCreateParent + const ChangeCreateStudent + const ChangeDeleteDepartment + const ChangeDeleteParent + const ChangeDeleteStudent + const ChangeSubscribe + const ChangeUnsubscribe + const ChangeUpdateDepartment + const ChangeUpdateParent + const ChangeUpdateStudent + type CorpCardType string + const CardButtonInteraction + const CardMultipleInteraction + const CardNewsNotice + const CardTextNotice + const CardVoteInteraction + type EventMessage struct + AgentID string + Encrypt string + ToUserName string + XMLName xml.Name + type EventType string + const EventAddSchedule + const EventAnnualRenew + const EventBatchJobResult + const EventCardNotPassCheck + const EventCardPassCheck + const EventCardPayOrder + const EventCardSkuRemind + const EventChangeContact + const EventChangeSchoolContact + const EventClick + const EventDeleteCalendar + const EventDeleteSchedule + const EventEnterAgent + const EventEnterSession + const EventExternalContact + const EventKFMsgOREvent + const EventLivingStatusChange + const EventLocation + const EventLocationSelect + const EventModifyCalendar + const EventModifySchedule + const EventMsgAuditNotify + const EventMsgSendFail + const EventNamingVerifyFail + const EventNamingVerifySuccess + const EventOpenApprovalChange + const EventPicPhotoOrAlbum + const EventPicSysPhoto + const EventPicWeixin + const EventPublishJobFinish + const EventQualificationVerifyFail + const EventQualificationVerifySuccess + const EventScan + const EventScanCodePush + const EventScanCodeWaitMsg + const EventServicerStatusChange + const EventSessionStatusChange + const EventShareAgentChange + const EventSubmitMemberCardUserInfo + const EventSubscribe + const EventSwitchWorkbenchMode + const EventSysApprovalChange + const EventTemplateCard + const EventTemplateSendJobFinish + const EventUnsubscribe + const EventUpdateMemberCard + const EventUserConsumeCard + const EventUserDelCard + const EventUserEnterSessionFromCard + const EventUserGetCard + const EventUserGiftingCard + const EventUserPayFromPayCell + const EventUserViewCard + const EventVerifyExpired + const EventView + const EventWxaMediaCheck + type JobType string + const JobExportDepartment + const JobExportSimpleUser + const JobExportTagUser + const JobExportUser + const JobInviteUser + const JobReplaceParty + const JobReplaceUser + const JobSyncUser + type MsgType string + const MsgBussinessCard + const MsgCard + const MsgEvent + const MsgFile + const MsgImage + const MsgLink + const MsgLocation + const MsgMPNews + const MsgMPNewsArticle + const MsgMarkdown + const MsgMenu + const MsgMinip + const MsgMinipNotice + const MsgMinipPage + const MsgMsgMenu + const MsgMusic + const MsgNews + const MsgShortVideo + const MsgTemplateCard + const MsgText + const MsgTextCard + const MsgTransferToKF + const MsgUpdateButton + const MsgUpdateTemplateCard + const MsgUserEnterTempSession + const MsgVideo + const MsgVoice + type Reply interface + Bytes func(from, to string) ([]byte, error) + type ReplyMessage struct + Encrypt wx.CDATA + MsgSignature wx.CDATA + Nonce wx.CDATA + TimeStamp int64 + XMLName xml.Name + func BuildReply(token, nonce, encryptMsg string) *ReplyMessage