callbacks

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ChangeTypeMsgAuditApproved = "msg_audit_approved"

ChangeTypeMsgAuditApproved 添加外部联系人同意进行聊天内容存档时,回调该事件。

Variables

This section is empty.

Functions

This section is empty.

Types

type CallBackExtraInfoInterface

type CallBackExtraInfoInterface interface {
	GetMessageType() string
	GetEventType() string
	GetChangeType() string
	GetTypeKey() string
	ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)
}

type CallBackHandler

type CallBackHandler struct {
	// contains filtered or unexported fields
}

func NewCallbackHandler

func NewCallbackHandler(token string, encodingAESKey string) (*CallBackHandler, error)

func (*CallBackHandler) EchoTestHandler

func (cb *CallBackHandler) EchoTestHandler(rw http.ResponseWriter, r *http.Request)

后台回调配置URL,申请校验

func (*CallBackHandler) GetCallBackMsg

func (cb *CallBackHandler) GetCallBackMsg(r *http.Request) (CallbackMessage, error)

解析并获取回调数据

type CallbackMessage

type CallbackMessage struct {
	// ToUserName 企业微信CorpID
	ToUserName string `xml:"ToUserName"` // 企业id
	// FromUserName 成员UserID
	FromUserName string `xml:"FromUserName"` // 固定为sys, 表示系统生成的消息
	// CreateTime 消息创建时间(整型)
	CreateTime int64 `xml:"CreateTime"`
	// MsgType 消息类型
	MsgType MessageType `xml:"MsgType"`
	// MsgID 消息id,64位整型
	MsgID int64 `xml:"MsgId"`
	// AppAgentId 企业应用的id,整型。可在应用的设置页面查看
	AgentID int64 `xml:"AppAgentId"`
	// EventType 事件类型 MsgType为event存在
	EventType EventType `xml:"Event"`
	// ChangeType 变更类型 Event为change_external_contact存在
	ChangeType ChangeType `xml:"ChangeType"` // 自建应用和第三方应用共用字段

	SuiteId    string    `xml:"SuiteId"`    // 第三方应用ID, 等同于FromUserName
	AuthCorpId string    `xml:"AuthCorpId"` // 授权企业的CorpID, 等同于ToUserName
	InfoType   EventType `xml:"InfoType"`   // 等同于EventType
	TimeStamp  int64     `xml:"TimeStamp"`  // 时间戳

	// 额外的信息
	Extras CallBackExtraInfoInterface
}

CallbackMessage 一条接收到的消息

func (CallbackMessage) GetStructName

func (m CallbackMessage) GetStructName() string

func (CallbackMessage) GetTypeKey

func (m CallbackMessage) GetTypeKey() string

func (CallbackMessage) ParseMessageFromXml

func (m CallbackMessage) ParseMessageFromXml(body []byte) (CallbackMessage, error)

type ChangeType

type ChangeType string

ChangeType 变更类型

const ChangeTypeAddExternalContact ChangeType = "add_external_contact"

ChangeTypeAddExternalContact 添加企业客户事件

const ChangeTypeAddHalfExternalContact ChangeType = "add_half_external_contact"

ChangeTypeAddHalfExternalContact 外部联系人免验证添加成员事件

const ChangeTypeCreateChat ChangeType = "create"

ChangeTypeCreateChat 创建群聊

const ChangeTypeCreateParty ChangeType = "create_party"

ChangeTypeCreateParty 添加部门事件

const ChangeTypeCreateTag ChangeType = "create"

ChangeTypeCreateTag 添加标签事件

const ChangeTypeCreateUser ChangeType = "create_user"

ChangeTypeCreateUser 新增员工

const ChangeTypeDelExternalContact ChangeType = "del_external_contact"

ChangeTypeDelExternalContact 删除企业客户事件

const ChangeTypeDelFollowUser ChangeType = "del_follow_user"

ChangeTypeDelFollowUser 删除跟进成员事件

const ChangeTypeDelUser ChangeType = "delete_user"

ChangeTypeDelUser 删除员工事件

const ChangeTypeDeleteParty ChangeType = "delete_party"

ChangeTypeDeleteParty 删除部门事件

const ChangeTypeDeleteTag ChangeType = "delete"

ChangeTypeDeleteTag 删除标签事件

const ChangeTypeDismissChat ChangeType = "dismiss"

ChangeTypeDismissChat 客户群解散事件

const ChangeTypeEditExternalContact ChangeType = "edit_external_contact"

ChangeTypeEditExternalContact 编辑企业客户事件

const ChangeTypeTransferFail ChangeType = "transfer_fail"

ChangeTypeTransferFail 客户接替失败事件

const ChangeTypeUpdateChat ChangeType = "update"

ChangeTypeUpdateChat 群聊更新事件

const ChangeTypeUpdateParty ChangeType = "update_party"

ChangeTypeUpdateParty 更新部门事件

const ChangeTypeUpdateTag ChangeType = "update"

ChangeTypeUpdateTag 更新标签事件

const ChangeTypeUpdateUser ChangeType = "update_user"

ChangeTypeUpdateUser 更新员工事件

type EventBatchJobResult

type EventBatchJobResult struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	BatchJob struct {
		Text  string `xml:",chardata"`
		JobId struct {
			Text string `xml:",chardata"`
		} `xml:"JobId"`
		JobType struct {
			Text string `xml:",chardata"`
		} `xml:"JobType"`
		ErrCode struct {
			Text string `xml:",chardata"`
		} `xml:"ErrCode"`
		ErrMsg struct {
			Text string `xml:",chardata"`
		} `xml:"ErrMsg"`
	} `xml:"BatchJob"`
}

func (EventBatchJobResult) GetChangeType

func (EventBatchJobResult) GetChangeType() string

func (EventBatchJobResult) GetEventType

func (EventBatchJobResult) GetEventType() string

func (EventBatchJobResult) GetMessageType

func (EventBatchJobResult) GetMessageType() string

func (EventBatchJobResult) GetTypeKey

func (m EventBatchJobResult) GetTypeKey() string

func (EventBatchJobResult) ParseFromXml

func (EventBatchJobResult) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventChangeAppAdmin

type EventChangeAppAdmin struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventChangeAppAdmin) GetChangeType

func (EventChangeAppAdmin) GetChangeType() string

func (EventChangeAppAdmin) GetEventType

func (EventChangeAppAdmin) GetEventType() string

func (EventChangeAppAdmin) GetMessageType

func (EventChangeAppAdmin) GetMessageType() string

func (EventChangeAppAdmin) GetTypeKey

func (m EventChangeAppAdmin) GetTypeKey() string

func (EventChangeAppAdmin) ParseFromXml

func (EventChangeAppAdmin) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventChangeContactCreateParty

type EventChangeContactCreateParty struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	Name struct {
		Text string `xml:",chardata"`
	} `xml:"Name"`
	ParentId struct {
		Text string `xml:",chardata"`
	} `xml:"ParentId"`
	Order struct {
		Text string `xml:",chardata"`
	} `xml:"Order"`
}

func (EventChangeContactCreateParty) GetChangeType

func (EventChangeContactCreateParty) GetChangeType() string

func (EventChangeContactCreateParty) GetEventType

func (EventChangeContactCreateParty) GetEventType() string

func (EventChangeContactCreateParty) GetMessageType

func (EventChangeContactCreateParty) GetMessageType() string

func (EventChangeContactCreateParty) GetTypeKey

func (m EventChangeContactCreateParty) GetTypeKey() string

func (EventChangeContactCreateParty) ParseFromXml

type EventChangeContactCreateUser

type EventChangeContactCreateUser struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	Name struct {
		Text string `xml:",chardata"`
	} `xml:"Name"`
	Department struct {
		Text string `xml:",chardata"`
	} `xml:"Department"`
	MainDepartment struct {
		Text string `xml:",chardata"`
	} `xml:"MainDepartment"`
	IsLeaderInDept struct {
		Text string `xml:",chardata"`
	} `xml:"IsLeaderInDept"`
	DirectLeader struct {
		Text string `xml:",chardata"`
	} `xml:"DirectLeader"`
	Position struct {
		Text string `xml:",chardata"`
	} `xml:"Position"`
	Mobile struct {
		Text string `xml:",chardata"`
	} `xml:"Mobile"`
	Gender struct {
		Text string `xml:",chardata"`
	} `xml:"Gender"`
	Email struct {
		Text string `xml:",chardata"`
	} `xml:"Email"`
	BizMail struct {
		Text string `xml:",chardata"`
	} `xml:"BizMail"`
	Status struct {
		Text string `xml:",chardata"`
	} `xml:"Status"`
	Avatar struct {
		Text string `xml:",chardata"`
	} `xml:"Avatar"`
	Alias struct {
		Text string `xml:",chardata"`
	} `xml:"Alias"`
	Telephone struct {
		Text string `xml:",chardata"`
	} `xml:"Telephone"`
	Address struct {
		Text string `xml:",chardata"`
	} `xml:"Address"`
	ExtAttr struct {
		Text string `xml:",chardata"`
		Item []struct {
			Chardata string `xml:",chardata"`
			Name     struct {
				Text string `xml:",chardata"`
			} `xml:"Name"`
			Type struct {
				Text string `xml:",chardata"`
			} `xml:"Type"`
			Text struct {
				Text  string `xml:",chardata"`
				Value struct {
					Text string `xml:",chardata"`
				} `xml:"Value"`
			} `xml:"Text"`
			Web struct {
				Text  string `xml:",chardata"`
				Title struct {
					Text string `xml:",chardata"`
				} `xml:"Title"`
				URL struct {
					Text string `xml:",chardata"`
				} `xml:"Url"`
			} `xml:"Web"`
		} `xml:"Item"`
	} `xml:"ExtAttr"`
}

func (EventChangeContactCreateUser) GetChangeType

func (EventChangeContactCreateUser) GetChangeType() string

func (EventChangeContactCreateUser) GetEventType

func (EventChangeContactCreateUser) GetEventType() string

func (EventChangeContactCreateUser) GetMessageType

func (EventChangeContactCreateUser) GetMessageType() string

func (EventChangeContactCreateUser) GetTypeKey

func (m EventChangeContactCreateUser) GetTypeKey() string

func (EventChangeContactCreateUser) ParseFromXml

type EventChangeContactDeleteParty

type EventChangeContactDeleteParty struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
}

func (EventChangeContactDeleteParty) GetChangeType

func (EventChangeContactDeleteParty) GetChangeType() string

func (EventChangeContactDeleteParty) GetEventType

func (EventChangeContactDeleteParty) GetEventType() string

func (EventChangeContactDeleteParty) GetMessageType

func (EventChangeContactDeleteParty) GetMessageType() string

func (EventChangeContactDeleteParty) GetTypeKey

func (m EventChangeContactDeleteParty) GetTypeKey() string

func (EventChangeContactDeleteParty) ParseFromXml

type EventChangeContactDeleteUser

type EventChangeContactDeleteUser struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
}

func (EventChangeContactDeleteUser) GetChangeType

func (EventChangeContactDeleteUser) GetChangeType() string

func (EventChangeContactDeleteUser) GetEventType

func (EventChangeContactDeleteUser) GetEventType() string

func (EventChangeContactDeleteUser) GetMessageType

func (EventChangeContactDeleteUser) GetMessageType() string

func (EventChangeContactDeleteUser) GetTypeKey

func (m EventChangeContactDeleteUser) GetTypeKey() string

func (EventChangeContactDeleteUser) ParseFromXml

type EventChangeContactUpdateParty

type EventChangeContactUpdateParty struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	Name struct {
		Text string `xml:",chardata"`
	} `xml:"Name"`
	ParentId struct {
		Text string `xml:",chardata"`
	} `xml:"ParentId"`
}

func (EventChangeContactUpdateParty) GetChangeType

func (EventChangeContactUpdateParty) GetChangeType() string

func (EventChangeContactUpdateParty) GetEventType

func (EventChangeContactUpdateParty) GetEventType() string

func (EventChangeContactUpdateParty) GetMessageType

func (EventChangeContactUpdateParty) GetMessageType() string

func (EventChangeContactUpdateParty) GetTypeKey

func (m EventChangeContactUpdateParty) GetTypeKey() string

func (EventChangeContactUpdateParty) ParseFromXml

type EventChangeContactUpdateTag

type EventChangeContactUpdateTag struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	TagId struct {
		Text string `xml:",chardata"`
	} `xml:"TagId"`
	AddUserItems struct {
		Text string `xml:",chardata"`
	} `xml:"AddUserItems"`
	DelUserItems struct {
		Text string `xml:",chardata"`
	} `xml:"DelUserItems"`
	AddPartyItems struct {
		Text string `xml:",chardata"`
	} `xml:"AddPartyItems"`
	DelPartyItems struct {
		Text string `xml:",chardata"`
	} `xml:"DelPartyItems"`
}

func (EventChangeContactUpdateTag) GetChangeType

func (EventChangeContactUpdateTag) GetChangeType() string

func (EventChangeContactUpdateTag) GetEventType

func (EventChangeContactUpdateTag) GetEventType() string

func (EventChangeContactUpdateTag) GetMessageType

func (EventChangeContactUpdateTag) GetMessageType() string

func (EventChangeContactUpdateTag) GetTypeKey

func (m EventChangeContactUpdateTag) GetTypeKey() string

func (EventChangeContactUpdateTag) ParseFromXml

type EventChangeContactUpdateUser

type EventChangeContactUpdateUser struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	NewUserID struct {
		Text string `xml:",chardata"`
	} `xml:"NewUserID"`
	Name struct {
		Text string `xml:",chardata"`
	} `xml:"Name"`
	Department struct {
		Text string `xml:",chardata"`
	} `xml:"Department"`
	MainDepartment struct {
		Text string `xml:",chardata"`
	} `xml:"MainDepartment"`
	IsLeaderInDept struct {
		Text string `xml:",chardata"`
	} `xml:"IsLeaderInDept"`
	Position struct {
		Text string `xml:",chardata"`
	} `xml:"Position"`
	Mobile struct {
		Text string `xml:",chardata"`
	} `xml:"Mobile"`
	Gender struct {
		Text string `xml:",chardata"`
	} `xml:"Gender"`
	Email struct {
		Text string `xml:",chardata"`
	} `xml:"Email"`
	Status struct {
		Text string `xml:",chardata"`
	} `xml:"Status"`
	Avatar struct {
		Text string `xml:",chardata"`
	} `xml:"Avatar"`
	Alias struct {
		Text string `xml:",chardata"`
	} `xml:"Alias"`
	Telephone struct {
		Text string `xml:",chardata"`
	} `xml:"Telephone"`
	Address struct {
		Text string `xml:",chardata"`
	} `xml:"Address"`
	ExtAttr struct {
		Text string `xml:",chardata"`
		Item []struct {
			Chardata string `xml:",chardata"`
			Name     struct {
				Text string `xml:",chardata"`
			} `xml:"Name"`
			Type struct {
				Text string `xml:",chardata"`
			} `xml:"Type"`
			Text struct {
				Text  string `xml:",chardata"`
				Value struct {
					Text string `xml:",chardata"`
				} `xml:"Value"`
			} `xml:"Text"`
			Web struct {
				Text  string `xml:",chardata"`
				Title struct {
					Text string `xml:",chardata"`
				} `xml:"Title"`
				URL struct {
					Text string `xml:",chardata"`
				} `xml:"Url"`
			} `xml:"Web"`
		} `xml:"Item"`
	} `xml:"ExtAttr"`
}

func (EventChangeContactUpdateUser) GetChangeType

func (EventChangeContactUpdateUser) GetChangeType() string

func (EventChangeContactUpdateUser) GetEventType

func (EventChangeContactUpdateUser) GetEventType() string

func (EventChangeContactUpdateUser) GetMessageType

func (EventChangeContactUpdateUser) GetMessageType() string

func (EventChangeContactUpdateUser) GetTypeKey

func (m EventChangeContactUpdateUser) GetTypeKey() string

func (EventChangeContactUpdateUser) ParseFromXml

type EventChangeExternalChatCreate

type EventChangeExternalChatCreate struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChatId struct {
		Text string `xml:",chardata"`
	} `xml:"ChatId"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (EventChangeExternalChatCreate) GetChangeType

func (EventChangeExternalChatCreate) GetChangeType() string

func (EventChangeExternalChatCreate) GetEventType

func (EventChangeExternalChatCreate) GetEventType() string

func (EventChangeExternalChatCreate) GetMessageType

func (EventChangeExternalChatCreate) GetMessageType() string

func (EventChangeExternalChatCreate) GetTypeKey

func (m EventChangeExternalChatCreate) GetTypeKey() string

func (EventChangeExternalChatCreate) ParseFromXml

type EventChangeExternalChatDismiss

type EventChangeExternalChatDismiss struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChatId struct {
		Text string `xml:",chardata"`
	} `xml:"ChatId"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (EventChangeExternalChatDismiss) GetChangeType

func (EventChangeExternalChatDismiss) GetChangeType() string

func (EventChangeExternalChatDismiss) GetEventType

func (EventChangeExternalChatDismiss) GetEventType() string

func (EventChangeExternalChatDismiss) GetMessageType

func (EventChangeExternalChatDismiss) GetMessageType() string

func (EventChangeExternalChatDismiss) GetTypeKey

func (m EventChangeExternalChatDismiss) GetTypeKey() string

func (EventChangeExternalChatDismiss) ParseFromXml

type EventChangeExternalChatUpdate

type EventChangeExternalChatUpdate struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChatId struct {
		Text string `xml:",chardata"`
	} `xml:"ChatId"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UpdateDetail struct {
		Text string `xml:",chardata"`
	} `xml:"UpdateDetail"`
	JoinScene struct {
		Text string `xml:",chardata"`
	} `xml:"JoinScene"`
	QuitScene struct {
		Text string `xml:",chardata"`
	} `xml:"QuitScene"`
	MemChangeCnt struct {
		Text string `xml:",chardata"`
	} `xml:"MemChangeCnt"`
}

func (EventChangeExternalChatUpdate) GetChangeType

func (EventChangeExternalChatUpdate) GetChangeType() string

func (EventChangeExternalChatUpdate) GetEventType

func (EventChangeExternalChatUpdate) GetEventType() string

func (EventChangeExternalChatUpdate) GetMessageType

func (EventChangeExternalChatUpdate) GetMessageType() string

func (EventChangeExternalChatUpdate) GetTypeKey

func (m EventChangeExternalChatUpdate) GetTypeKey() string

func (EventChangeExternalChatUpdate) ParseFromXml

type EventChangeExternalContactAddExternalContact

type EventChangeExternalContactAddExternalContact struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
	State struct {
		Text string `xml:",chardata"`
	} `xml:"State"`
	WelcomeCode struct {
		Text string `xml:",chardata"`
	} `xml:"WelcomeCode"`
}

func (EventChangeExternalContactAddExternalContact) GetChangeType

func (EventChangeExternalContactAddExternalContact) GetEventType

func (EventChangeExternalContactAddExternalContact) GetMessageType

func (EventChangeExternalContactAddExternalContact) GetTypeKey

func (EventChangeExternalContactAddExternalContact) ParseFromXml

type EventChangeExternalContactAddHalfExternalContact

type EventChangeExternalContactAddHalfExternalContact struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
	State struct {
		Text string `xml:",chardata"`
	} `xml:"State"`
	WelcomeCode struct {
		Text string `xml:",chardata"`
	} `xml:"WelcomeCode"`
}

func (EventChangeExternalContactAddHalfExternalContact) GetChangeType

func (EventChangeExternalContactAddHalfExternalContact) GetEventType

func (EventChangeExternalContactAddHalfExternalContact) GetMessageType

func (EventChangeExternalContactAddHalfExternalContact) GetTypeKey

func (EventChangeExternalContactAddHalfExternalContact) ParseFromXml

type EventChangeExternalContactDelExternalContact

type EventChangeExternalContactDelExternalContact struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
	Source struct {
		Text string `xml:",chardata"`
	} `xml:"Source"`
}

func (EventChangeExternalContactDelExternalContact) GetChangeType

func (EventChangeExternalContactDelExternalContact) GetEventType

func (EventChangeExternalContactDelExternalContact) GetMessageType

func (EventChangeExternalContactDelExternalContact) GetTypeKey

func (EventChangeExternalContactDelExternalContact) ParseFromXml

type EventChangeExternalContactDelFollowUser

type EventChangeExternalContactDelFollowUser struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
}

func (EventChangeExternalContactDelFollowUser) GetChangeType

func (EventChangeExternalContactDelFollowUser) GetEventType

func (EventChangeExternalContactDelFollowUser) GetMessageType

func (EventChangeExternalContactDelFollowUser) GetTypeKey

func (EventChangeExternalContactDelFollowUser) ParseFromXml

type EventChangeExternalContactEditExternalContact

type EventChangeExternalContactEditExternalContact struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
}

func (EventChangeExternalContactEditExternalContact) GetChangeType

func (EventChangeExternalContactEditExternalContact) GetEventType

func (EventChangeExternalContactEditExternalContact) GetMessageType

func (EventChangeExternalContactEditExternalContact) GetTypeKey

func (EventChangeExternalContactEditExternalContact) ParseFromXml

type EventChangeExternalContactTransferFail

type EventChangeExternalContactTransferFail struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	FailReason struct {
		Text string `xml:",chardata"`
	} `xml:"FailReason"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
}

func (EventChangeExternalContactTransferFail) GetChangeType

func (EventChangeExternalContactTransferFail) GetEventType

func (EventChangeExternalContactTransferFail) GetMessageType

func (EventChangeExternalContactTransferFail) GetTypeKey

func (EventChangeExternalContactTransferFail) ParseFromXml

type EventChangeExternalTagCreate

type EventChangeExternalTagCreate struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	TagType struct {
		Text string `xml:",chardata"`
	} `xml:"TagType"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (EventChangeExternalTagCreate) GetChangeType

func (EventChangeExternalTagCreate) GetChangeType() string

func (EventChangeExternalTagCreate) GetEventType

func (EventChangeExternalTagCreate) GetEventType() string

func (EventChangeExternalTagCreate) GetMessageType

func (EventChangeExternalTagCreate) GetMessageType() string

func (EventChangeExternalTagCreate) GetTypeKey

func (m EventChangeExternalTagCreate) GetTypeKey() string

func (EventChangeExternalTagCreate) ParseFromXml

type EventChangeExternalTagDelete

type EventChangeExternalTagDelete struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	TagType struct {
		Text string `xml:",chardata"`
	} `xml:"TagType"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (EventChangeExternalTagDelete) GetChangeType

func (EventChangeExternalTagDelete) GetChangeType() string

func (EventChangeExternalTagDelete) GetEventType

func (EventChangeExternalTagDelete) GetEventType() string

func (EventChangeExternalTagDelete) GetMessageType

func (EventChangeExternalTagDelete) GetMessageType() string

func (EventChangeExternalTagDelete) GetTypeKey

func (m EventChangeExternalTagDelete) GetTypeKey() string

func (EventChangeExternalTagDelete) ParseFromXml

type EventChangeExternalTagShuffle

type EventChangeExternalTagShuffle struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	StrategyId struct {
		Text string `xml:",chardata"`
	} `xml:"StrategyId"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (EventChangeExternalTagShuffle) GetChangeType

func (EventChangeExternalTagShuffle) GetChangeType() string

func (EventChangeExternalTagShuffle) GetEventType

func (EventChangeExternalTagShuffle) GetEventType() string

func (EventChangeExternalTagShuffle) GetMessageType

func (EventChangeExternalTagShuffle) GetMessageType() string

func (EventChangeExternalTagShuffle) GetTypeKey

func (m EventChangeExternalTagShuffle) GetTypeKey() string

func (EventChangeExternalTagShuffle) ParseFromXml

type EventChangeExternalTagUpdate

type EventChangeExternalTagUpdate struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	TagType struct {
		Text string `xml:",chardata"`
	} `xml:"TagType"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (EventChangeExternalTagUpdate) GetChangeType

func (EventChangeExternalTagUpdate) GetChangeType() string

func (EventChangeExternalTagUpdate) GetEventType

func (EventChangeExternalTagUpdate) GetEventType() string

func (EventChangeExternalTagUpdate) GetMessageType

func (EventChangeExternalTagUpdate) GetMessageType() string

func (EventChangeExternalTagUpdate) GetTypeKey

func (m EventChangeExternalTagUpdate) GetTypeKey() string

func (EventChangeExternalTagUpdate) ParseFromXml

type EventClick

type EventClick struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	EventKey struct {
		Text string `xml:",chardata"`
	} `xml:"EventKey"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventClick) GetChangeType

func (EventClick) GetChangeType() string

func (EventClick) GetEventType

func (EventClick) GetEventType() string

func (EventClick) GetMessageType

func (EventClick) GetMessageType() string

func (EventClick) GetTypeKey

func (m EventClick) GetTypeKey() string

func (EventClick) ParseFromXml

func (EventClick) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventEnterAgent

type EventEnterAgent struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	EventKey struct {
		Text string `xml:",chardata"`
	} `xml:"EventKey"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventEnterAgent) GetChangeType

func (EventEnterAgent) GetChangeType() string

func (EventEnterAgent) GetEventType

func (EventEnterAgent) GetEventType() string

func (EventEnterAgent) GetMessageType

func (EventEnterAgent) GetMessageType() string

func (EventEnterAgent) GetTypeKey

func (m EventEnterAgent) GetTypeKey() string

func (EventEnterAgent) ParseFromXml

func (EventEnterAgent) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventKfMsgOrEvent

type EventKfMsgOrEvent struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	Token struct {
		Text string `xml:",chardata"`
	} `xml:"Token"`
}

func (EventKfMsgOrEvent) GetChangeType

func (EventKfMsgOrEvent) GetChangeType() string

func (EventKfMsgOrEvent) GetEventType

func (EventKfMsgOrEvent) GetEventType() string

func (EventKfMsgOrEvent) GetMessageType

func (EventKfMsgOrEvent) GetMessageType() string

func (EventKfMsgOrEvent) GetTypeKey

func (m EventKfMsgOrEvent) GetTypeKey() string

func (EventKfMsgOrEvent) ParseFromXml

func (EventKfMsgOrEvent) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventLOCATION

type EventLOCATION struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	Latitude struct {
		Text string `xml:",chardata"`
	} `xml:"Latitude"`
	Longitude struct {
		Text string `xml:",chardata"`
	} `xml:"Longitude"`
	Precision struct {
		Text string `xml:",chardata"`
	} `xml:"Precision"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
	AppType struct {
		Text string `xml:",chardata"`
	} `xml:"AppType"`
}

func (EventLOCATION) GetChangeType

func (EventLOCATION) GetChangeType() string

func (EventLOCATION) GetEventType

func (EventLOCATION) GetEventType() string

func (EventLOCATION) GetMessageType

func (EventLOCATION) GetMessageType() string

func (EventLOCATION) GetTypeKey

func (m EventLOCATION) GetTypeKey() string

func (EventLOCATION) ParseFromXml

func (EventLOCATION) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventLocationSelect

type EventLocationSelect struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	EventKey struct {
		Text string `xml:",chardata"`
	} `xml:"EventKey"`
	SendLocationInfo struct {
		Text      string `xml:",chardata"`
		LocationX struct {
			Text string `xml:",chardata"`
		} `xml:"Location_X"`
		LocationY struct {
			Text string `xml:",chardata"`
		} `xml:"Location_Y"`
		Scale struct {
			Text string `xml:",chardata"`
		} `xml:"Scale"`
		Label struct {
			Text string `xml:",chardata"`
		} `xml:"Label"`
		Poiname struct {
			Text string `xml:",chardata"`
		} `xml:"Poiname"`
	} `xml:"SendLocationInfo"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
	AppType struct {
		Text string `xml:",chardata"`
	} `xml:"AppType"`
}

func (EventLocationSelect) GetChangeType

func (EventLocationSelect) GetChangeType() string

func (EventLocationSelect) GetEventType

func (EventLocationSelect) GetEventType() string

func (EventLocationSelect) GetMessageType

func (EventLocationSelect) GetMessageType() string

func (EventLocationSelect) GetTypeKey

func (m EventLocationSelect) GetTypeKey() string

func (EventLocationSelect) ParseFromXml

func (EventLocationSelect) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventOpenApprovalChange

type EventOpenApprovalChange struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
	ApprovalInfo struct {
		Text    string `xml:",chardata"`
		ThirdNo struct {
			Text string `xml:",chardata"`
		} `xml:"ThirdNo"`
		OpenSpName struct {
			Text string `xml:",chardata"`
		} `xml:"OpenSpName"`
		OpenTemplateId struct {
			Text string `xml:",chardata"`
		} `xml:"OpenTemplateId"`
		OpenSpStatus struct {
			Text string `xml:",chardata"`
		} `xml:"OpenSpStatus"`
		ApplyTime struct {
			Text string `xml:",chardata"`
		} `xml:"ApplyTime"`
		ApplyUserName struct {
			Text string `xml:",chardata"`
		} `xml:"ApplyUserName"`
		ApplyUserId struct {
			Text string `xml:",chardata"`
		} `xml:"ApplyUserId"`
		ApplyUserParty struct {
			Text string `xml:",chardata"`
		} `xml:"ApplyUserParty"`
		ApplyUserImage struct {
			Text string `xml:",chardata"`
		} `xml:"ApplyUserImage"`
		ApprovalNodes struct {
			Text         string `xml:",chardata"`
			ApprovalNode struct {
				Text       string `xml:",chardata"`
				NodeStatus struct {
					Text string `xml:",chardata"`
				} `xml:"NodeStatus"`
				NodeAttr struct {
					Text string `xml:",chardata"`
				} `xml:"NodeAttr"`
				NodeType struct {
					Text string `xml:",chardata"`
				} `xml:"NodeType"`
				Items struct {
					Text string `xml:",chardata"`
					Item struct {
						Text     string `xml:",chardata"`
						ItemName struct {
							Text string `xml:",chardata"`
						} `xml:"ItemName"`
						ItemUserId struct {
							Text string `xml:",chardata"`
						} `xml:"ItemUserId"`
						ItemImage struct {
							Text string `xml:",chardata"`
						} `xml:"ItemImage"`
						ItemStatus struct {
							Text string `xml:",chardata"`
						} `xml:"ItemStatus"`
						ItemSpeech struct {
							Text string `xml:",chardata"`
						} `xml:"ItemSpeech"`
						ItemOpTime struct {
							Text string `xml:",chardata"`
						} `xml:"ItemOpTime"`
					} `xml:"Item"`
				} `xml:"Items"`
			} `xml:"ApprovalNode"`
		} `xml:"ApprovalNodes"`
		NotifyNodes struct {
			Text       string `xml:",chardata"`
			NotifyNode struct {
				Text     string `xml:",chardata"`
				ItemName struct {
					Text string `xml:",chardata"`
				} `xml:"ItemName"`
				ItemUserId struct {
					Text string `xml:",chardata"`
				} `xml:"ItemUserId"`
				ItemImage struct {
					Text string `xml:",chardata"`
				} `xml:"ItemImage"`
			} `xml:"NotifyNode"`
		} `xml:"NotifyNodes"`
		Approverstep struct {
			Text string `xml:",chardata"`
		} `xml:"approverstep"`
	} `xml:"ApprovalInfo"`
}

func (EventOpenApprovalChange) GetChangeType

func (EventOpenApprovalChange) GetChangeType() string

func (EventOpenApprovalChange) GetEventType

func (EventOpenApprovalChange) GetEventType() string

func (EventOpenApprovalChange) GetMessageType

func (EventOpenApprovalChange) GetMessageType() string

func (EventOpenApprovalChange) GetTypeKey

func (m EventOpenApprovalChange) GetTypeKey() string

func (EventOpenApprovalChange) ParseFromXml

type EventPicPhotoOrAlbum

type EventPicPhotoOrAlbum struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	EventKey struct {
		Text string `xml:",chardata"`
	} `xml:"EventKey"`
	SendPicsInfo struct {
		Text  string `xml:",chardata"`
		Count struct {
			Text string `xml:",chardata"`
		} `xml:"Count"`
		PicList struct {
			Text string `xml:",chardata"`
			Item struct {
				Text      string `xml:",chardata"`
				PicMd5Sum struct {
					Text string `xml:",chardata"`
				} `xml:"PicMd5Sum"`
			} `xml:"item"`
		} `xml:"PicList"`
	} `xml:"SendPicsInfo"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventPicPhotoOrAlbum) GetChangeType

func (EventPicPhotoOrAlbum) GetChangeType() string

func (EventPicPhotoOrAlbum) GetEventType

func (EventPicPhotoOrAlbum) GetEventType() string

func (EventPicPhotoOrAlbum) GetMessageType

func (EventPicPhotoOrAlbum) GetMessageType() string

func (EventPicPhotoOrAlbum) GetTypeKey

func (m EventPicPhotoOrAlbum) GetTypeKey() string

func (EventPicPhotoOrAlbum) ParseFromXml

type EventPicSysphoto

type EventPicSysphoto struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	EventKey struct {
		Text string `xml:",chardata"`
	} `xml:"EventKey"`
	SendPicsInfo struct {
		Text  string `xml:",chardata"`
		Count struct {
			Text string `xml:",chardata"`
		} `xml:"Count"`
		PicList struct {
			Text string `xml:",chardata"`
			Item struct {
				Text      string `xml:",chardata"`
				PicMd5Sum struct {
					Text string `xml:",chardata"`
				} `xml:"PicMd5Sum"`
			} `xml:"item"`
		} `xml:"PicList"`
	} `xml:"SendPicsInfo"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventPicSysphoto) GetChangeType

func (EventPicSysphoto) GetChangeType() string

func (EventPicSysphoto) GetEventType

func (EventPicSysphoto) GetEventType() string

func (EventPicSysphoto) GetMessageType

func (EventPicSysphoto) GetMessageType() string

func (EventPicSysphoto) GetTypeKey

func (m EventPicSysphoto) GetTypeKey() string

func (EventPicSysphoto) ParseFromXml

func (EventPicSysphoto) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventPicWeixin

type EventPicWeixin struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	EventKey struct {
		Text string `xml:",chardata"`
	} `xml:"EventKey"`
	SendPicsInfo struct {
		Text  string `xml:",chardata"`
		Count struct {
			Text string `xml:",chardata"`
		} `xml:"Count"`
		PicList struct {
			Text string `xml:",chardata"`
			Item struct {
				Text      string `xml:",chardata"`
				PicMd5Sum struct {
					Text string `xml:",chardata"`
				} `xml:"PicMd5Sum"`
			} `xml:"item"`
		} `xml:"PicList"`
	} `xml:"SendPicsInfo"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventPicWeixin) GetChangeType

func (EventPicWeixin) GetChangeType() string

func (EventPicWeixin) GetEventType

func (EventPicWeixin) GetEventType() string

func (EventPicWeixin) GetMessageType

func (EventPicWeixin) GetMessageType() string

func (EventPicWeixin) GetTypeKey

func (m EventPicWeixin) GetTypeKey() string

func (EventPicWeixin) ParseFromXml

func (EventPicWeixin) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventScancodePush

type EventScancodePush struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	EventKey struct {
		Text string `xml:",chardata"`
	} `xml:"EventKey"`
	ScanCodeInfo struct {
		Text     string `xml:",chardata"`
		ScanType struct {
			Text string `xml:",chardata"`
		} `xml:"ScanType"`
		ScanResult struct {
			Text string `xml:",chardata"`
		} `xml:"ScanResult"`
	} `xml:"ScanCodeInfo"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventScancodePush) GetChangeType

func (EventScancodePush) GetChangeType() string

func (EventScancodePush) GetEventType

func (EventScancodePush) GetEventType() string

func (EventScancodePush) GetMessageType

func (EventScancodePush) GetMessageType() string

func (EventScancodePush) GetTypeKey

func (m EventScancodePush) GetTypeKey() string

func (EventScancodePush) ParseFromXml

func (EventScancodePush) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventScancodeWaitmsg

type EventScancodeWaitmsg struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	EventKey struct {
		Text string `xml:",chardata"`
	} `xml:"EventKey"`
	ScanCodeInfo struct {
		Text     string `xml:",chardata"`
		ScanType struct {
			Text string `xml:",chardata"`
		} `xml:"ScanType"`
		ScanResult struct {
			Text string `xml:",chardata"`
		} `xml:"ScanResult"`
	} `xml:"ScanCodeInfo"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventScancodeWaitmsg) GetChangeType

func (EventScancodeWaitmsg) GetChangeType() string

func (EventScancodeWaitmsg) GetEventType

func (EventScancodeWaitmsg) GetEventType() string

func (EventScancodeWaitmsg) GetMessageType

func (EventScancodeWaitmsg) GetMessageType() string

func (EventScancodeWaitmsg) GetTypeKey

func (m EventScancodeWaitmsg) GetTypeKey() string

func (EventScancodeWaitmsg) ParseFromXml

type EventShareAgentChange

type EventShareAgentChange struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventShareAgentChange) GetChangeType

func (EventShareAgentChange) GetChangeType() string

func (EventShareAgentChange) GetEventType

func (EventShareAgentChange) GetEventType() string

func (EventShareAgentChange) GetMessageType

func (EventShareAgentChange) GetMessageType() string

func (EventShareAgentChange) GetTypeKey

func (m EventShareAgentChange) GetTypeKey() string

func (EventShareAgentChange) ParseFromXml

type EventSubscribe

type EventSubscribe struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventSubscribe) GetChangeType

func (EventSubscribe) GetChangeType() string

func (EventSubscribe) GetEventType

func (EventSubscribe) GetEventType() string

func (EventSubscribe) GetMessageType

func (EventSubscribe) GetMessageType() string

func (EventSubscribe) GetTypeKey

func (m EventSubscribe) GetTypeKey() string

func (EventSubscribe) ParseFromXml

func (EventSubscribe) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventSwitchWorkbenchMode

type EventSwitchWorkbenchMode struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	Mode struct {
		Text string `xml:",chardata"`
	} `xml:"Mode"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventSwitchWorkbenchMode) GetChangeType

func (EventSwitchWorkbenchMode) GetChangeType() string

func (EventSwitchWorkbenchMode) GetEventType

func (EventSwitchWorkbenchMode) GetEventType() string

func (EventSwitchWorkbenchMode) GetMessageType

func (EventSwitchWorkbenchMode) GetMessageType() string

func (EventSwitchWorkbenchMode) GetTypeKey

func (m EventSwitchWorkbenchMode) GetTypeKey() string

func (EventSwitchWorkbenchMode) ParseFromXml

type EventTemplateCardEvent

type EventTemplateCardEvent struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	EventKey struct {
		Text string `xml:",chardata"`
	} `xml:"EventKey"`
	TaskId struct {
		Text string `xml:",chardata"`
	} `xml:"TaskId"`
	CardType struct {
		Text string `xml:",chardata"`
	} `xml:"CardType"`
	ResponseCode struct {
		Text string `xml:",chardata"`
	} `xml:"ResponseCode"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
	SelectedItems struct {
		Text         string `xml:",chardata"`
		SelectedItem []struct {
			Text        string `xml:",chardata"`
			QuestionKey struct {
				Text string `xml:",chardata"`
			} `xml:"QuestionKey"`
			OptionIds struct {
				Text     string `xml:",chardata"`
				OptionId []struct {
					Text string `xml:",chardata"`
				} `xml:"OptionId"`
			} `xml:"OptionIds"`
		} `xml:"SelectedItem"`
	} `xml:"SelectedItems"`
}

func (EventTemplateCardEvent) GetChangeType

func (EventTemplateCardEvent) GetChangeType() string

func (EventTemplateCardEvent) GetEventType

func (EventTemplateCardEvent) GetEventType() string

func (EventTemplateCardEvent) GetMessageType

func (EventTemplateCardEvent) GetMessageType() string

func (EventTemplateCardEvent) GetTypeKey

func (m EventTemplateCardEvent) GetTypeKey() string

func (EventTemplateCardEvent) ParseFromXml

type EventTemplateCardMenuEvent

type EventTemplateCardMenuEvent struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	EventKey struct {
		Text string `xml:",chardata"`
	} `xml:"EventKey"`
	TaskId struct {
		Text string `xml:",chardata"`
	} `xml:"TaskId"`
	CardType struct {
		Text string `xml:",chardata"`
	} `xml:"CardType"`
	ResponseCode struct {
		Text string `xml:",chardata"`
	} `xml:"ResponseCode"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventTemplateCardMenuEvent) GetChangeType

func (EventTemplateCardMenuEvent) GetChangeType() string

func (EventTemplateCardMenuEvent) GetEventType

func (EventTemplateCardMenuEvent) GetEventType() string

func (EventTemplateCardMenuEvent) GetMessageType

func (EventTemplateCardMenuEvent) GetMessageType() string

func (EventTemplateCardMenuEvent) GetTypeKey

func (m EventTemplateCardMenuEvent) GetTypeKey() string

func (EventTemplateCardMenuEvent) ParseFromXml

type EventType

type EventType string

EventType 事件类型

const EventTypeChangeAppAdmin EventType = "change_app_admin"

应用管理员变更通知

const EventTypeChangeContact EventType = "change_contact"

EventTypeChangeContact 通讯录变更事件

const EventTypeChangeExternalChat EventType = "change_external_chat"

EventTypeChangeExternalChat 客户群变更事件

const EventTypeChangeExternalContact EventType = "change_external_contact"

EventTypeChangeExternalContact 企业客户事件

const EventTypeChangeExternalTag EventType = "change_external_tag"

EventTypeChangeExternalTag 标签事件

const EventTypeKefuMsgOrEvent EventType = "kf_msg_or_event"

客服消息类型

const EventTypeSysApprovalChange EventType = "sys_approval_change"

EventTypeSysApprovalChange 审批申请状态变化回调通知

const EventTypeUnlicensedNotify EventType = "unlicensed_notify"

接口许可失效通知

const InfoTypeAgreeExternalUseridMigration EventType = "agree_external_userid_migration"

同意授权转换external_userid事件,企微安全升级需要:旧external_userid调整为新external_userid

const InfoTypeCancelAuth EventType = "cancel_auth"

取消授权通知:注意,服务商收到取消授权事件后,应当确保删除该企业所有相关的数据。

const InfoTypeChangeAuth EventType = "change_auth"

变更授权通知

const InfoTypeChangeContact EventType = "change_contact"

成员通知事件、部门通知事件、标签通知事件

const InfoTypeChangeExternalChat EventType = "change_external_chat"

客户群变更事件

const InfoTypeChangeExternalContact EventType = "change_external_contact"

企业客户事件

const InfoTypeChangeExternalTag EventType = "change_external_tag"

标签事件

const InfoTypeCreateAuth EventType = "create_auth"

企业授权成功通知

const InfoTypeRegisterCorp EventType = "register_corp"

企业注册完成回调事件(即企业成功安装第三方应用事件)

const InfoTypeShareAgentChange EventType = "share_agent_change"

共享应用事件:授权成功通知

const InfoTypeSuiteTicket EventType = "suite_ticket"

推送suite_ticket

type EventUnlicensedNotify

type EventUnlicensedNotify struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventUnlicensedNotify) GetChangeType

func (EventUnlicensedNotify) GetChangeType() string

func (EventUnlicensedNotify) GetEventType

func (EventUnlicensedNotify) GetEventType() string

func (EventUnlicensedNotify) GetMessageType

func (EventUnlicensedNotify) GetMessageType() string

func (EventUnlicensedNotify) GetTypeKey

func (m EventUnlicensedNotify) GetTypeKey() string

func (EventUnlicensedNotify) ParseFromXml

type EventUnsubscribe

type EventUnsubscribe struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventUnsubscribe) GetChangeType

func (EventUnsubscribe) GetChangeType() string

func (EventUnsubscribe) GetEventType

func (EventUnsubscribe) GetEventType() string

func (EventUnsubscribe) GetMessageType

func (EventUnsubscribe) GetMessageType() string

func (EventUnsubscribe) GetTypeKey

func (m EventUnsubscribe) GetTypeKey() string

func (EventUnsubscribe) ParseFromXml

func (EventUnsubscribe) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type EventView

type EventView struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Event struct {
		Text string `xml:",chardata"`
	} `xml:"Event"`
	EventKey struct {
		Text string `xml:",chardata"`
	} `xml:"EventKey"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (EventView) GetChangeType

func (EventView) GetChangeType() string

func (EventView) GetEventType

func (EventView) GetEventType() string

func (EventView) GetMessageType

func (EventView) GetMessageType() string

func (EventView) GetTypeKey

func (m EventView) GetTypeKey() string

func (EventView) ParseFromXml

func (EventView) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type Image

type Image struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	PicUrl struct {
		Text string `xml:",chardata"`
	} `xml:"PicUrl"`
	MediaId struct {
		Text string `xml:",chardata"`
	} `xml:"MediaId"`
	MsgId struct {
		Text string `xml:",chardata"`
	} `xml:"MsgId"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (Image) GetChangeType

func (Image) GetChangeType() string

func (Image) GetEventType

func (Image) GetEventType() string

func (Image) GetMessageType

func (Image) GetMessageType() string

func (Image) GetTypeKey

func (m Image) GetTypeKey() string

func (Image) ParseFromXml

func (Image) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)
type Link struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Title struct {
		Text string `xml:",chardata"`
	} `xml:"Title"`
	Description struct {
		Text string `xml:",chardata"`
	} `xml:"Description"`
	URL struct {
		Text string `xml:",chardata"`
	} `xml:"Url"`
	PicUrl struct {
		Text string `xml:",chardata"`
	} `xml:"PicUrl"`
	MsgId struct {
		Text string `xml:",chardata"`
	} `xml:"MsgId"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (Link) GetChangeType

func (Link) GetChangeType() string

func (Link) GetEventType

func (Link) GetEventType() string

func (Link) GetMessageType

func (Link) GetMessageType() string

func (Link) GetTypeKey

func (m Link) GetTypeKey() string

func (Link) ParseFromXml

func (Link) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type Location

type Location struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	LocationX struct {
		Text string `xml:",chardata"`
	} `xml:"Location_X"`
	LocationY struct {
		Text string `xml:",chardata"`
	} `xml:"Location_Y"`
	Scale struct {
		Text string `xml:",chardata"`
	} `xml:"Scale"`
	Label struct {
		Text string `xml:",chardata"`
	} `xml:"Label"`
	MsgId struct {
		Text string `xml:",chardata"`
	} `xml:"MsgId"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
	AppType struct {
		Text string `xml:",chardata"`
	} `xml:"AppType"`
}

func (Location) GetChangeType

func (Location) GetChangeType() string

func (Location) GetEventType

func (Location) GetEventType() string

func (Location) GetMessageType

func (Location) GetMessageType() string

func (Location) GetTypeKey

func (m Location) GetTypeKey() string

func (Location) ParseFromXml

func (Location) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type MessageType

type MessageType string

MessageType 消息类型

const MessageTypeEvent MessageType = "event"

MessageTypeEvent 事件消息

const MessageTypeImage MessageType = "image"

MessageTypeImage 图片消息

const MessageTypeLink MessageType = "link"

MessageTypeLink 链接消息

const MessageTypeLocation MessageType = "location"

MessageTypeLocation 位置消息

const MessageTypeText MessageType = "text"

MessageTypeText 文本消息

const MessageTypeThird MessageType = "third"

没有明确指定消息类型,都视为第三方应用事件

const MessageTypeVideo MessageType = "video"

MessageTypeVideo 视频消息

const MessageTypeVoice MessageType = "voice"

MessageTypeVoice 语音消息

type Text

type Text struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	Content struct {
		Text string `xml:",chardata"`
	} `xml:"Content"`
	MsgId struct {
		Text string `xml:",chardata"`
	} `xml:"MsgId"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (Text) GetChangeType

func (Text) GetChangeType() string

func (Text) GetEventType

func (Text) GetEventType() string

func (Text) GetMessageType

func (Text) GetMessageType() string

func (Text) GetTypeKey

func (m Text) GetTypeKey() string

func (Text) ParseFromXml

func (Text) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type ThirdAgreeExternalUseridMigration

type ThirdAgreeExternalUseridMigration struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	ServiceCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"ServiceCorpId"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
}

func (ThirdAgreeExternalUseridMigration) GetChangeType

func (ThirdAgreeExternalUseridMigration) GetChangeType() string

func (ThirdAgreeExternalUseridMigration) GetEventType

func (ThirdAgreeExternalUseridMigration) GetMessageType

func (ThirdAgreeExternalUseridMigration) GetMessageType() string

func (ThirdAgreeExternalUseridMigration) GetTypeKey

func (ThirdAgreeExternalUseridMigration) ParseFromXml

type ThirdCancelAuth

type ThirdCancelAuth struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
}

func (ThirdCancelAuth) GetChangeType

func (ThirdCancelAuth) GetChangeType() string

func (ThirdCancelAuth) GetEventType

func (ThirdCancelAuth) GetEventType() string

func (ThirdCancelAuth) GetMessageType

func (ThirdCancelAuth) GetMessageType() string

func (ThirdCancelAuth) GetTypeKey

func (m ThirdCancelAuth) GetTypeKey() string

func (ThirdCancelAuth) ParseFromXml

func (ThirdCancelAuth) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type ThirdChangeAuth

type ThirdChangeAuth struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
}

func (ThirdChangeAuth) GetChangeType

func (ThirdChangeAuth) GetChangeType() string

func (ThirdChangeAuth) GetEventType

func (ThirdChangeAuth) GetEventType() string

func (ThirdChangeAuth) GetMessageType

func (ThirdChangeAuth) GetMessageType() string

func (ThirdChangeAuth) GetTypeKey

func (m ThirdChangeAuth) GetTypeKey() string

func (ThirdChangeAuth) ParseFromXml

func (ThirdChangeAuth) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type ThirdChangeContactCreateParty

type ThirdChangeContactCreateParty struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	Name struct {
		Text string `xml:",chardata"`
	} `xml:"Name"`
	ParentId struct {
		Text string `xml:",chardata"`
	} `xml:"ParentId"`
	Order struct {
		Text string `xml:",chardata"`
	} `xml:"Order"`
}

func (ThirdChangeContactCreateParty) GetChangeType

func (ThirdChangeContactCreateParty) GetChangeType() string

func (ThirdChangeContactCreateParty) GetEventType

func (ThirdChangeContactCreateParty) GetEventType() string

func (ThirdChangeContactCreateParty) GetMessageType

func (ThirdChangeContactCreateParty) GetMessageType() string

func (ThirdChangeContactCreateParty) GetTypeKey

func (m ThirdChangeContactCreateParty) GetTypeKey() string

func (ThirdChangeContactCreateParty) ParseFromXml

type ThirdChangeContactCreateUser

type ThirdChangeContactCreateUser struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	OpenUserID struct {
		Text string `xml:",chardata"`
	} `xml:"OpenUserID"`
	Name struct {
		Text string `xml:",chardata"`
	} `xml:"Name"`
	Department struct {
		Text string `xml:",chardata"`
	} `xml:"Department"`
	MainDepartment struct {
		Text string `xml:",chardata"`
	} `xml:"MainDepartment"`
	IsLeaderInDept struct {
		Text string `xml:",chardata"`
	} `xml:"IsLeaderInDept"`
	Mobile struct {
		Text string `xml:",chardata"`
	} `xml:"Mobile"`
	Position struct {
		Text string `xml:",chardata"`
	} `xml:"Position"`
	Gender struct {
		Text string `xml:",chardata"`
	} `xml:"Gender"`
	Email struct {
		Text string `xml:",chardata"`
	} `xml:"Email"`
	Avatar struct {
		Text string `xml:",chardata"`
	} `xml:"Avatar"`
	Alias struct {
		Text string `xml:",chardata"`
	} `xml:"Alias"`
	Telephone struct {
		Text string `xml:",chardata"`
	} `xml:"Telephone"`
	ExtAttr struct {
		Text string `xml:",chardata"`
		Item []struct {
			Chardata string `xml:",chardata"`
			Name     struct {
				Text string `xml:",chardata"`
			} `xml:"Name"`
			Type struct {
				Text string `xml:",chardata"`
			} `xml:"Type"`
			Text struct {
				Text  string `xml:",chardata"`
				Value struct {
					Text string `xml:",chardata"`
				} `xml:"Value"`
			} `xml:"Text"`
			Web struct {
				Text  string `xml:",chardata"`
				Title struct {
					Text string `xml:",chardata"`
				} `xml:"Title"`
				URL struct {
					Text string `xml:",chardata"`
				} `xml:"Url"`
			} `xml:"Web"`
		} `xml:"Item"`
	} `xml:"ExtAttr"`
}

func (ThirdChangeContactCreateUser) GetChangeType

func (ThirdChangeContactCreateUser) GetChangeType() string

func (ThirdChangeContactCreateUser) GetEventType

func (ThirdChangeContactCreateUser) GetEventType() string

func (ThirdChangeContactCreateUser) GetMessageType

func (ThirdChangeContactCreateUser) GetMessageType() string

func (ThirdChangeContactCreateUser) GetTypeKey

func (m ThirdChangeContactCreateUser) GetTypeKey() string

func (ThirdChangeContactCreateUser) ParseFromXml

type ThirdChangeContactDeleteParty

type ThirdChangeContactDeleteParty struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
}

func (ThirdChangeContactDeleteParty) GetChangeType

func (ThirdChangeContactDeleteParty) GetChangeType() string

func (ThirdChangeContactDeleteParty) GetEventType

func (ThirdChangeContactDeleteParty) GetEventType() string

func (ThirdChangeContactDeleteParty) GetMessageType

func (ThirdChangeContactDeleteParty) GetMessageType() string

func (ThirdChangeContactDeleteParty) GetTypeKey

func (m ThirdChangeContactDeleteParty) GetTypeKey() string

func (ThirdChangeContactDeleteParty) ParseFromXml

type ThirdChangeContactDeleteUser

type ThirdChangeContactDeleteUser struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	OpenUserID struct {
		Text string `xml:",chardata"`
	} `xml:"OpenUserID"`
}

func (ThirdChangeContactDeleteUser) GetChangeType

func (ThirdChangeContactDeleteUser) GetChangeType() string

func (ThirdChangeContactDeleteUser) GetEventType

func (ThirdChangeContactDeleteUser) GetEventType() string

func (ThirdChangeContactDeleteUser) GetMessageType

func (ThirdChangeContactDeleteUser) GetMessageType() string

func (ThirdChangeContactDeleteUser) GetTypeKey

func (m ThirdChangeContactDeleteUser) GetTypeKey() string

func (ThirdChangeContactDeleteUser) ParseFromXml

type ThirdChangeContactUpdateParty

type ThirdChangeContactUpdateParty struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	Name struct {
		Text string `xml:",chardata"`
	} `xml:"Name"`
	ParentId struct {
		Text string `xml:",chardata"`
	} `xml:"ParentId"`
}

func (ThirdChangeContactUpdateParty) GetChangeType

func (ThirdChangeContactUpdateParty) GetChangeType() string

func (ThirdChangeContactUpdateParty) GetEventType

func (ThirdChangeContactUpdateParty) GetEventType() string

func (ThirdChangeContactUpdateParty) GetMessageType

func (ThirdChangeContactUpdateParty) GetMessageType() string

func (ThirdChangeContactUpdateParty) GetTypeKey

func (m ThirdChangeContactUpdateParty) GetTypeKey() string

func (ThirdChangeContactUpdateParty) ParseFromXml

type ThirdChangeContactUpdateTag

type ThirdChangeContactUpdateTag struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	TagId struct {
		Text string `xml:",chardata"`
	} `xml:"TagId"`
	AddUserItems struct {
		Text string `xml:",chardata"`
	} `xml:"AddUserItems"`
	DelUserItems struct {
		Text string `xml:",chardata"`
	} `xml:"DelUserItems"`
	AddPartyItems struct {
		Text string `xml:",chardata"`
	} `xml:"AddPartyItems"`
	DelPartyItems struct {
		Text string `xml:",chardata"`
	} `xml:"DelPartyItems"`
}

func (ThirdChangeContactUpdateTag) GetChangeType

func (ThirdChangeContactUpdateTag) GetChangeType() string

func (ThirdChangeContactUpdateTag) GetEventType

func (ThirdChangeContactUpdateTag) GetEventType() string

func (ThirdChangeContactUpdateTag) GetMessageType

func (ThirdChangeContactUpdateTag) GetMessageType() string

func (ThirdChangeContactUpdateTag) GetTypeKey

func (m ThirdChangeContactUpdateTag) GetTypeKey() string

func (ThirdChangeContactUpdateTag) ParseFromXml

type ThirdChangeContactUpdateUser

type ThirdChangeContactUpdateUser struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	OpenUserID struct {
		Text string `xml:",chardata"`
	} `xml:"OpenUserID"`
	NewUserID struct {
		Text string `xml:",chardata"`
	} `xml:"NewUserID"`
	Name struct {
		Text string `xml:",chardata"`
	} `xml:"Name"`
	Department struct {
		Text string `xml:",chardata"`
	} `xml:"Department"`
	MainDepartment struct {
		Text string `xml:",chardata"`
	} `xml:"MainDepartment"`
	IsLeaderInDept struct {
		Text string `xml:",chardata"`
	} `xml:"IsLeaderInDept"`
	Mobile struct {
		Text string `xml:",chardata"`
	} `xml:"Mobile"`
	Position struct {
		Text string `xml:",chardata"`
	} `xml:"Position"`
	Gender struct {
		Text string `xml:",chardata"`
	} `xml:"Gender"`
	Email struct {
		Text string `xml:",chardata"`
	} `xml:"Email"`
	Status struct {
		Text string `xml:",chardata"`
	} `xml:"Status"`
	Avatar struct {
		Text string `xml:",chardata"`
	} `xml:"Avatar"`
	Alias struct {
		Text string `xml:",chardata"`
	} `xml:"Alias"`
	Telephone struct {
		Text string `xml:",chardata"`
	} `xml:"Telephone"`
	ExtAttr struct {
		Text string `xml:",chardata"`
		Item []struct {
			Chardata string `xml:",chardata"`
			Name     struct {
				Text string `xml:",chardata"`
			} `xml:"Name"`
			Type struct {
				Text string `xml:",chardata"`
			} `xml:"Type"`
			Text struct {
				Text  string `xml:",chardata"`
				Value struct {
					Text string `xml:",chardata"`
				} `xml:"Value"`
			} `xml:"Text"`
			Web struct {
				Text  string `xml:",chardata"`
				Title struct {
					Text string `xml:",chardata"`
				} `xml:"Title"`
				URL struct {
					Text string `xml:",chardata"`
				} `xml:"Url"`
			} `xml:"Web"`
		} `xml:"Item"`
	} `xml:"ExtAttr"`
}

func (ThirdChangeContactUpdateUser) GetChangeType

func (ThirdChangeContactUpdateUser) GetChangeType() string

func (ThirdChangeContactUpdateUser) GetEventType

func (ThirdChangeContactUpdateUser) GetEventType() string

func (ThirdChangeContactUpdateUser) GetMessageType

func (ThirdChangeContactUpdateUser) GetMessageType() string

func (ThirdChangeContactUpdateUser) GetTypeKey

func (m ThirdChangeContactUpdateUser) GetTypeKey() string

func (ThirdChangeContactUpdateUser) ParseFromXml

type ThirdChangeExternalChatCreate

type ThirdChangeExternalChatCreate struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChatId struct {
		Text string `xml:",chardata"`
	} `xml:"ChatId"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (ThirdChangeExternalChatCreate) GetChangeType

func (ThirdChangeExternalChatCreate) GetChangeType() string

func (ThirdChangeExternalChatCreate) GetEventType

func (ThirdChangeExternalChatCreate) GetEventType() string

func (ThirdChangeExternalChatCreate) GetMessageType

func (ThirdChangeExternalChatCreate) GetMessageType() string

func (ThirdChangeExternalChatCreate) GetTypeKey

func (m ThirdChangeExternalChatCreate) GetTypeKey() string

func (ThirdChangeExternalChatCreate) ParseFromXml

type ThirdChangeExternalChatDismiss

type ThirdChangeExternalChatDismiss struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChatId struct {
		Text string `xml:",chardata"`
	} `xml:"ChatId"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (ThirdChangeExternalChatDismiss) GetChangeType

func (ThirdChangeExternalChatDismiss) GetChangeType() string

func (ThirdChangeExternalChatDismiss) GetEventType

func (ThirdChangeExternalChatDismiss) GetEventType() string

func (ThirdChangeExternalChatDismiss) GetMessageType

func (ThirdChangeExternalChatDismiss) GetMessageType() string

func (ThirdChangeExternalChatDismiss) GetTypeKey

func (m ThirdChangeExternalChatDismiss) GetTypeKey() string

func (ThirdChangeExternalChatDismiss) ParseFromXml

type ThirdChangeExternalChatUpdate

type ThirdChangeExternalChatUpdate struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChatId struct {
		Text string `xml:",chardata"`
	} `xml:"ChatId"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UpdateDetail struct {
		Text string `xml:",chardata"`
	} `xml:"UpdateDetail"`
	JoinScene struct {
		Text string `xml:",chardata"`
	} `xml:"JoinScene"`
	QuitScene struct {
		Text string `xml:",chardata"`
	} `xml:"QuitScene"`
	MemChangeCnt struct {
		Text string `xml:",chardata"`
	} `xml:"MemChangeCnt"`
}

func (ThirdChangeExternalChatUpdate) GetChangeType

func (ThirdChangeExternalChatUpdate) GetChangeType() string

func (ThirdChangeExternalChatUpdate) GetEventType

func (ThirdChangeExternalChatUpdate) GetEventType() string

func (ThirdChangeExternalChatUpdate) GetMessageType

func (ThirdChangeExternalChatUpdate) GetMessageType() string

func (ThirdChangeExternalChatUpdate) GetTypeKey

func (m ThirdChangeExternalChatUpdate) GetTypeKey() string

func (ThirdChangeExternalChatUpdate) ParseFromXml

type ThirdChangeExternalContactAddExternalContact

type ThirdChangeExternalContactAddExternalContact struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
	State struct {
		Text string `xml:",chardata"`
	} `xml:"State"`
	WelcomeCode struct {
		Text string `xml:",chardata"`
	} `xml:"WelcomeCode"`
}

func (ThirdChangeExternalContactAddExternalContact) GetChangeType

func (ThirdChangeExternalContactAddExternalContact) GetEventType

func (ThirdChangeExternalContactAddExternalContact) GetMessageType

func (ThirdChangeExternalContactAddExternalContact) GetTypeKey

func (ThirdChangeExternalContactAddExternalContact) ParseFromXml

type ThirdChangeExternalContactAddHalfExternalContact

type ThirdChangeExternalContactAddHalfExternalContact struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
	State struct {
		Text string `xml:",chardata"`
	} `xml:"State"`
	WelcomeCode struct {
		Text string `xml:",chardata"`
	} `xml:"WelcomeCode"`
}

func (ThirdChangeExternalContactAddHalfExternalContact) GetChangeType

func (ThirdChangeExternalContactAddHalfExternalContact) GetEventType

func (ThirdChangeExternalContactAddHalfExternalContact) GetMessageType

func (ThirdChangeExternalContactAddHalfExternalContact) GetTypeKey

func (ThirdChangeExternalContactAddHalfExternalContact) ParseFromXml

type ThirdChangeExternalContactDelExternalContact

type ThirdChangeExternalContactDelExternalContact struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
	Source struct {
		Text string `xml:",chardata"`
	} `xml:"Source"`
}

func (ThirdChangeExternalContactDelExternalContact) GetChangeType

func (ThirdChangeExternalContactDelExternalContact) GetEventType

func (ThirdChangeExternalContactDelExternalContact) GetMessageType

func (ThirdChangeExternalContactDelExternalContact) GetTypeKey

func (ThirdChangeExternalContactDelExternalContact) ParseFromXml

type ThirdChangeExternalContactDelFollowUser

type ThirdChangeExternalContactDelFollowUser struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
}

func (ThirdChangeExternalContactDelFollowUser) GetChangeType

func (ThirdChangeExternalContactDelFollowUser) GetEventType

func (ThirdChangeExternalContactDelFollowUser) GetMessageType

func (ThirdChangeExternalContactDelFollowUser) GetTypeKey

func (ThirdChangeExternalContactDelFollowUser) ParseFromXml

type ThirdChangeExternalContactEditExternalContact

type ThirdChangeExternalContactEditExternalContact struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
}

func (ThirdChangeExternalContactEditExternalContact) GetChangeType

func (ThirdChangeExternalContactEditExternalContact) GetEventType

func (ThirdChangeExternalContactEditExternalContact) GetMessageType

func (ThirdChangeExternalContactEditExternalContact) GetTypeKey

func (ThirdChangeExternalContactEditExternalContact) ParseFromXml

type ThirdChangeExternalContactTransferFail

type ThirdChangeExternalContactTransferFail struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
	FailReason struct {
		Text string `xml:",chardata"`
	} `xml:"FailReason"`
	UserID struct {
		Text string `xml:",chardata"`
	} `xml:"UserID"`
	ExternalUserID struct {
		Text string `xml:",chardata"`
	} `xml:"ExternalUserID"`
}

func (ThirdChangeExternalContactTransferFail) GetChangeType

func (ThirdChangeExternalContactTransferFail) GetEventType

func (ThirdChangeExternalContactTransferFail) GetMessageType

func (ThirdChangeExternalContactTransferFail) GetTypeKey

func (ThirdChangeExternalContactTransferFail) ParseFromXml

type ThirdChangeExternalTagCreate

type ThirdChangeExternalTagCreate struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	TagType struct {
		Text string `xml:",chardata"`
	} `xml:"TagType"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (ThirdChangeExternalTagCreate) GetChangeType

func (ThirdChangeExternalTagCreate) GetChangeType() string

func (ThirdChangeExternalTagCreate) GetEventType

func (ThirdChangeExternalTagCreate) GetEventType() string

func (ThirdChangeExternalTagCreate) GetMessageType

func (ThirdChangeExternalTagCreate) GetMessageType() string

func (ThirdChangeExternalTagCreate) GetTypeKey

func (m ThirdChangeExternalTagCreate) GetTypeKey() string

func (ThirdChangeExternalTagCreate) ParseFromXml

type ThirdChangeExternalTagDelete

type ThirdChangeExternalTagDelete struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	TagType struct {
		Text string `xml:",chardata"`
	} `xml:"TagType"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (ThirdChangeExternalTagDelete) GetChangeType

func (ThirdChangeExternalTagDelete) GetChangeType() string

func (ThirdChangeExternalTagDelete) GetEventType

func (ThirdChangeExternalTagDelete) GetEventType() string

func (ThirdChangeExternalTagDelete) GetMessageType

func (ThirdChangeExternalTagDelete) GetMessageType() string

func (ThirdChangeExternalTagDelete) GetTypeKey

func (m ThirdChangeExternalTagDelete) GetTypeKey() string

func (ThirdChangeExternalTagDelete) ParseFromXml

type ThirdChangeExternalTagShuffle

type ThirdChangeExternalTagShuffle struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (ThirdChangeExternalTagShuffle) GetChangeType

func (ThirdChangeExternalTagShuffle) GetChangeType() string

func (ThirdChangeExternalTagShuffle) GetEventType

func (ThirdChangeExternalTagShuffle) GetEventType() string

func (ThirdChangeExternalTagShuffle) GetMessageType

func (ThirdChangeExternalTagShuffle) GetMessageType() string

func (ThirdChangeExternalTagShuffle) GetTypeKey

func (m ThirdChangeExternalTagShuffle) GetTypeKey() string

func (ThirdChangeExternalTagShuffle) ParseFromXml

type ThirdChangeExternalTagUpdate

type ThirdChangeExternalTagUpdate struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	ID struct {
		Text string `xml:",chardata"`
	} `xml:"Id"`
	TagType struct {
		Text string `xml:",chardata"`
	} `xml:"TagType"`
	ChangeType struct {
		Text string `xml:",chardata"`
	} `xml:"ChangeType"`
}

func (ThirdChangeExternalTagUpdate) GetChangeType

func (ThirdChangeExternalTagUpdate) GetChangeType() string

func (ThirdChangeExternalTagUpdate) GetEventType

func (ThirdChangeExternalTagUpdate) GetEventType() string

func (ThirdChangeExternalTagUpdate) GetMessageType

func (ThirdChangeExternalTagUpdate) GetMessageType() string

func (ThirdChangeExternalTagUpdate) GetTypeKey

func (m ThirdChangeExternalTagUpdate) GetTypeKey() string

func (ThirdChangeExternalTagUpdate) ParseFromXml

type ThirdCreateAuth

type ThirdCreateAuth struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	AuthCode struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCode"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	State struct {
		Text string `xml:",chardata"`
	} `xml:"State"`
}

func (ThirdCreateAuth) GetChangeType

func (ThirdCreateAuth) GetChangeType() string

func (ThirdCreateAuth) GetEventType

func (ThirdCreateAuth) GetEventType() string

func (ThirdCreateAuth) GetMessageType

func (ThirdCreateAuth) GetMessageType() string

func (ThirdCreateAuth) GetTypeKey

func (m ThirdCreateAuth) GetTypeKey() string

func (ThirdCreateAuth) ParseFromXml

func (ThirdCreateAuth) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type ThirdRegisterCorp

type ThirdRegisterCorp struct {
	XMLName       xml.Name `xml:"xml"`
	Text          string   `xml:",chardata"`
	ServiceCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"ServiceCorpId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	RegisterCode struct {
		Text string `xml:",chardata"`
	} `xml:"RegisterCode"`
	AuthCorpId struct {
		Text string `xml:",chardata"`
	} `xml:"AuthCorpId"`
	ContactSync struct {
		Text        string `xml:",chardata"`
		AccessToken struct {
			Text string `xml:",chardata"`
		} `xml:"AccessToken"`
		ExpiresIn struct {
			Text string `xml:",chardata"`
		} `xml:"ExpiresIn"`
	} `xml:"ContactSync"`
	AuthUserInfo struct {
		Text   string `xml:",chardata"`
		UserId struct {
			Text string `xml:",chardata"`
		} `xml:"UserId"`
	} `xml:"AuthUserInfo"`
	State struct {
		Text string `xml:",chardata"`
	} `xml:"State"`
	TemplateId struct {
		Text string `xml:",chardata"`
	} `xml:"TemplateId"`
}

func (ThirdRegisterCorp) GetChangeType

func (ThirdRegisterCorp) GetChangeType() string

func (ThirdRegisterCorp) GetEventType

func (ThirdRegisterCorp) GetEventType() string

func (ThirdRegisterCorp) GetMessageType

func (ThirdRegisterCorp) GetMessageType() string

func (ThirdRegisterCorp) GetTypeKey

func (m ThirdRegisterCorp) GetTypeKey() string

func (ThirdRegisterCorp) ParseFromXml

func (ThirdRegisterCorp) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type ThirdSuiteTicket

type ThirdSuiteTicket struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	SuiteId struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteId"`
	InfoType struct {
		Text string `xml:",chardata"`
	} `xml:"InfoType"`
	TimeStamp struct {
		Text string `xml:",chardata"`
	} `xml:"TimeStamp"`
	SuiteTicket struct {
		Text string `xml:",chardata"`
	} `xml:"SuiteTicket"`
}

func (ThirdSuiteTicket) GetChangeType

func (ThirdSuiteTicket) GetChangeType() string

func (ThirdSuiteTicket) GetEventType

func (ThirdSuiteTicket) GetEventType() string

func (ThirdSuiteTicket) GetMessageType

func (ThirdSuiteTicket) GetMessageType() string

func (ThirdSuiteTicket) GetTypeKey

func (m ThirdSuiteTicket) GetTypeKey() string

func (ThirdSuiteTicket) ParseFromXml

func (ThirdSuiteTicket) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type Video

type Video struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	MediaId struct {
		Text string `xml:",chardata"`
	} `xml:"MediaId"`
	ThumbMediaId struct {
		Text string `xml:",chardata"`
	} `xml:"ThumbMediaId"`
	MsgId struct {
		Text string `xml:",chardata"`
	} `xml:"MsgId"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (Video) GetChangeType

func (Video) GetChangeType() string

func (Video) GetEventType

func (Video) GetEventType() string

func (Video) GetMessageType

func (Video) GetMessageType() string

func (Video) GetTypeKey

func (m Video) GetTypeKey() string

func (Video) ParseFromXml

func (Video) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

type Voice

type Voice struct {
	XMLName    xml.Name `xml:"xml"`
	Text       string   `xml:",chardata"`
	ToUserName struct {
		Text string `xml:",chardata"`
	} `xml:"ToUserName"`
	FromUserName struct {
		Text string `xml:",chardata"`
	} `xml:"FromUserName"`
	CreateTime struct {
		Text string `xml:",chardata"`
	} `xml:"CreateTime"`
	MsgType struct {
		Text string `xml:",chardata"`
	} `xml:"MsgType"`
	MediaId struct {
		Text string `xml:",chardata"`
	} `xml:"MediaId"`
	Format struct {
		Text string `xml:",chardata"`
	} `xml:"Format"`
	MsgId struct {
		Text string `xml:",chardata"`
	} `xml:"MsgId"`
	AgentID struct {
		Text string `xml:",chardata"`
	} `xml:"AgentID"`
}

func (Voice) GetChangeType

func (Voice) GetChangeType() string

func (Voice) GetEventType

func (Voice) GetEventType() string

func (Voice) GetMessageType

func (Voice) GetMessageType() string

func (Voice) GetTypeKey

func (m Voice) GetTypeKey() string

func (Voice) ParseFromXml

func (Voice) ParseFromXml(data []byte) (CallBackExtraInfoInterface, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL