call_back_struct

package
v0.0.0-...-4702bed Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallbackAddMessageReactionExtReq

type CallbackAddMessageReactionExtReq struct {
	OperationID           string                      `json:"operationID"`
	CallbackCommand       string                      `json:"callbackCommand"`
	SourceID              string                      `json:"sourceID"`
	OpUserID              string                      `json:"opUserID"`
	SessionType           int32                       `json:"sessionType"`
	ReactionExtensionList map[string]*sdk_ws.KeyValue `json:"reactionExtensionList"`
	ClientMsgID           string                      `json:"clientMsgID"`
	IsReact               bool                        `json:"isReact"`
	IsExternalExtensions  bool                        `json:"isExternalExtensions"`
	MsgFirstModifyTime    int64                       `json:"msgFirstModifyTime"`
}

type CallbackAddMessageReactionExtResp

type CallbackAddMessageReactionExtResp struct {
	*CommonCallbackResp
	ResultReactionExtensionList []*msg.KeyValueResp `json:"resultReactionExtensionList"`
	IsReact                     bool                `json:"isReact"`
	MsgFirstModifyTime          int64               `json:"msgFirstModifyTime"`
}

type CallbackAfterConsumeGroupMsgReq

type CallbackAfterConsumeGroupMsgReq struct {
	CommonCallbackReq
	GroupID string `json:"groupID"`
}

type CallbackAfterConsumeGroupMsgResp

type CallbackAfterConsumeGroupMsgResp struct {
	*CommonCallbackResp
}

type CallbackAfterSendGroupMsgReq

type CallbackAfterSendGroupMsgReq struct {
	CommonCallbackReq
	GroupID string `json:"groupID"`
}

type CallbackAfterSendGroupMsgResp

type CallbackAfterSendGroupMsgResp struct {
	*CommonCallbackResp
}

type CallbackAfterSendSingleMsgReq

type CallbackAfterSendSingleMsgReq struct {
	CommonCallbackReq
	RecvID string `json:"recvID"`
}

type CallbackAfterSendSingleMsgResp

type CallbackAfterSendSingleMsgResp struct {
	*CommonCallbackResp
}

type CallbackBeforeAddFriendReq

type CallbackBeforeAddFriendReq struct {
	CallbackCommand string `json:"callbackCommand"`
	FromUserID      string `json:"fromUserID" `
	ToUserID        string `json:"toUserID"`
	ReqMsg          string `json:"reqMsg"`
	OperationID     string `json:"operationID"`
}

type CallbackBeforeAddFriendResp

type CallbackBeforeAddFriendResp struct {
	*CommonCallbackResp
}

type CallbackBeforeCreateGroupReq

type CallbackBeforeCreateGroupReq struct {
	CallbackCommand string `json:"callbackCommand"`
	OperationID     string `json:"operationID"`
	commonPb.GroupInfo
	InitMemberList []*group.GroupAddMemberInfo `json:"initMemberList"`
}

type CallbackBeforeCreateGroupResp

type CallbackBeforeCreateGroupResp struct {
	*CommonCallbackResp
	GroupID           *string `json:"groupID"`
	GroupName         *string `json:"groupName"`
	Notification      *string `json:"notification"`
	Introduction      *string `json:"introduction"`
	FaceURL           *string `json:"faceURL"`
	OwnerUserID       *string `json:"ownerUserID"`
	Ex                *string `json:"ex"`
	Status            *int32  `json:"status"`
	CreatorUserID     *string `json:"creatorUserID"`
	GroupType         *int32  `json:"groupType"`
	NeedVerification  *int32  `json:"needVerification"`
	LookMemberInfo    *int32  `json:"lookMemberInfo"`
	ApplyMemberFriend *int32  `json:"applyMemberFriend"`
}

type CallbackBeforeMemberJoinGroupReq

type CallbackBeforeMemberJoinGroupReq struct {
	CallbackCommand string `json:"callbackCommand"`
	OperationID     string `json:"operationID"`
	GroupID         string `json:"groupID"`
	UserID          string `json:"userID"`
	Ex              string `json:"ex"`
	GroupEx         string `json:"groupEx"`
}

type CallbackBeforeMemberJoinGroupResp

type CallbackBeforeMemberJoinGroupResp struct {
	*CommonCallbackResp
	NickName    *string `json:"nickName"`
	FaceURL     *string `json:"faceURL"`
	RoleLevel   *int32  `json:"roleLevel"`
	MuteEndTime *int64  `json:"muteEndTime"`
	Ex          *string `json:"ex"`
}

type CallbackBeforePushReq

type CallbackBeforePushReq struct {
	UserStatusBatchCallbackReq
	*commonPb.OfflinePushInfo
	ClientMsgID  string   `json:"clientMsgID"`
	SendID       string   `json:"sendID"`
	GroupID      string   `json:"groupID"`
	ContentType  int32    `json:"contentType"`
	SessionType  int32    `json:"sessionType"`
	AtUserIDList []string `json:"atUserIDList"`
	Content      string   `json:"content"`
}

type CallbackBeforePushResp

type CallbackBeforePushResp struct {
	*CommonCallbackResp
	UserIDList      []string                  `json:"userIDList"`
	OfflinePushInfo *commonPb.OfflinePushInfo `json:"offlinePushInfo"`
}

type CallbackBeforeSendGroupMsgReq

type CallbackBeforeSendGroupMsgReq struct {
	CommonCallbackReq
	GroupID string `json:"groupID"`
}

type CallbackBeforeSendGroupMsgResp

type CallbackBeforeSendGroupMsgResp struct {
	*CommonCallbackResp
}

type CallbackBeforeSendSingleMsgReq

type CallbackBeforeSendSingleMsgReq struct {
	CommonCallbackReq
	RecvID string `json:"recvID"`
}

type CallbackBeforeSendSingleMsgResp

type CallbackBeforeSendSingleMsgResp struct {
	*CommonCallbackResp
}

type CallbackBeforeSetGroupMemberInfoReq

type CallbackBeforeSetGroupMemberInfoReq struct {
	CallbackCommand string `json:"callbackCommand"`
	OperationID     string `json:"operationID"`
	GroupID         string `json:"groupID"`
	UserID          string `json:"userID"`
	Nickname        string `json:"nickName"`
	FaceURL         string `json:"faceURL"`
	RoleLevel       int32  `json:"roleLevel"`
	Ex              string `json:"ex"`
}

type CallbackBeforeSetGroupMemberInfoResp

type CallbackBeforeSetGroupMemberInfoResp struct {
	*CommonCallbackResp
	Ex        *string `json:"ex"`
	Nickname  *string `json:"nickName"`
	FaceURL   *string `json:"faceURL"`
	RoleLevel *int32  `json:"roleLevel"`
}

type CallbackBeforeSetMessageReactionExtReq

type CallbackBeforeSetMessageReactionExtReq struct {
	OperationID           string                      `json:"operationID"`
	CallbackCommand       string                      `json:"callbackCommand"`
	SourceID              string                      `json:"sourceID"`
	OpUserID              string                      `json:"opUserID"`
	SessionType           int32                       `json:"sessionType"`
	ReactionExtensionList map[string]*sdk_ws.KeyValue `json:"reactionExtensionList"`
	ClientMsgID           string                      `json:"clientMsgID"`
	IsReact               bool                        `json:"isReact"`
	IsExternalExtensions  bool                        `json:"isExternalExtensions"`
	MsgFirstModifyTime    int64                       `json:"msgFirstModifyTime"`
}

type CallbackBeforeSetMessageReactionExtResp

type CallbackBeforeSetMessageReactionExtResp struct {
	*CommonCallbackResp
	ResultReactionExtensionList []*msg.KeyValueResp `json:"resultReactionExtensionList"`
	MsgFirstModifyTime          int64               `json:"msgFirstModifyTime"`
}

type CallbackBeforeSuperGroupOnlinePushReq

type CallbackBeforeSuperGroupOnlinePushReq struct {
	//*commonPb.OfflinePushInfo
	UserStatusBaseCallback
	ClientMsgID  string   `json:"clientMsgID"`
	SendID       string   `json:"sendID"`
	GroupID      string   `json:"groupID"`
	ContentType  int32    `json:"contentType"`
	SessionType  int32    `json:"sessionType"`
	AtUserIDList []string `json:"atUserIDList"`
	Content      string   `json:"content"`
	Seq          uint32   `json:"seq"`
}

type CallbackBeforeSuperGroupOnlinePushResp

type CallbackBeforeSuperGroupOnlinePushResp struct {
	*CommonCallbackResp
	UserIDList      []string                  `json:"userIDList"`
	OfflinePushInfo *commonPb.OfflinePushInfo `json:"offlinePushInfo"`
}

type CallbackDeleteMessageReactionExtReq

type CallbackDeleteMessageReactionExtReq struct {
	OperationID           string             `json:"operationID"`
	CallbackCommand       string             `json:"callbackCommand"`
	SourceID              string             `json:"sourceID"`
	OpUserID              string             `json:"opUserID"`
	SessionType           int32              `json:"sessionType"`
	ReactionExtensionList []*sdk_ws.KeyValue `json:"reactionExtensionList"`
	ClientMsgID           string             `json:"clientMsgID"`
	IsExternalExtensions  bool               `json:"isExternalExtensions"`
	MsgFirstModifyTime    int64              `json:"msgFirstModifyTime"`
}

type CallbackDeleteMessageReactionExtResp

type CallbackDeleteMessageReactionExtResp struct {
	*CommonCallbackResp
	ResultReactionExtensionList []*msg.KeyValueResp `json:"resultReactionExtensionList"`
	MsgFirstModifyTime          int64               `json:"msgFirstModifyTime"`
}

type CallbackGetMessageListReactionExtReq

type CallbackGetMessageListReactionExtReq struct {
	OperationID     string                                                        `json:"operationID"`
	CallbackCommand string                                                        `json:"callbackCommand"`
	SourceID        string                                                        `json:"sourceID"`
	OpUserID        string                                                        `json:"opUserID"`
	SessionType     int32                                                         `json:"sessionType"`
	TypeKeyList     []string                                                      `json:"typeKeyList"`
	MessageKeyList  []*msg.GetMessageListReactionExtensionsReq_MessageReactionKey `json:"messageKeyList"`
}

type CallbackGetMessageListReactionExtResp

type CallbackGetMessageListReactionExtResp struct {
	*CommonCallbackResp
	MessageResultList []*msg.SingleMessageExtensionResult `json:"messageResultList"`
}

type CallbackMsgModifyCommandReq

type CallbackMsgModifyCommandReq struct {
	CommonCallbackReq
	RecvID  string `json:"recvID,omitempty"`
	GroupID string `json:"groupID,omitempty"`
}

type CallbackMsgModifyCommandResp

type CallbackMsgModifyCommandResp struct {
	*CommonCallbackResp
	Content          *string                 `json:"content"`
	RecvID           *string                 `json:"recvID"`
	GroupID          *string                 `json:"groupID"`
	ClientMsgID      *string                 `json:"clientMsgID"`
	ServerMsgID      *string                 `json:"serverMsgID"`
	SenderPlatformID *int32                  `json:"senderPlatformID"`
	SenderNickname   *string                 `json:"senderNickname"`
	SenderFaceURL    *string                 `json:"senderFaceURL"`
	SessionType      *int32                  `json:"sessionType"`
	MsgFrom          *int32                  `json:"msgFrom"`
	ContentType      *int32                  `json:"contentType"`
	Status           *int32                  `json:"status"`
	Options          *map[string]bool        `json:"options"`
	OfflinePushInfo  *sdk_ws.OfflinePushInfo `json:"offlinePushInfo"`
	AtUserIDList     *[]string               `json:"atUserIDList"`
	MsgDataList      *[]byte                 `json:"msgDataList"`
	AttachedInfo     *string                 `json:"attachedInfo"`
	Ex               *string                 `json:"ex"`
}

type CallbackUserKickOffReq

type CallbackUserKickOffReq struct {
	UserStatusCallbackReq
	Seq int `json:"seq"`
}

type CallbackUserKickOffResp

type CallbackUserKickOffResp struct {
	*CommonCallbackResp
}

type CallbackUserOfflineReq

type CallbackUserOfflineReq struct {
	UserStatusCallbackReq
	Seq    int    `json:"seq"`
	ConnID string `json:"connID"`
}

type CallbackUserOfflineResp

type CallbackUserOfflineResp struct {
	*CommonCallbackResp
}

type CallbackUserOnlineReq

type CallbackUserOnlineReq struct {
	UserStatusCallbackReq
	Token           string `json:"token"`
	Seq             int    `json:"seq"`
	IsAppBackground bool   `json:"isAppBackground"`
	ConnID          string `json:"connID"`
}

type CallbackUserOnlineResp

type CallbackUserOnlineResp struct {
	*CommonCallbackResp
}

type CommonCallbackReq

type CommonCallbackReq struct {
	SendID           string   `json:"sendID"`
	CallbackCommand  string   `json:"callbackCommand"`
	ServerMsgID      string   `json:"serverMsgID"`
	ClientMsgID      string   `json:"clientMsgID"`
	OperationID      string   `json:"operationID"`
	SenderPlatformID int32    `json:"senderPlatformID"`
	SenderNickname   string   `json:"senderNickname"`
	SessionType      int32    `json:"sessionType"`
	MsgFrom          int32    `json:"msgFrom"`
	ContentType      int32    `json:"contentType"`
	Status           int32    `json:"status"`
	CreateTime       int64    `json:"createTime"`
	Content          string   `json:"content"`
	Seq              uint32   `json:"seq"`
	AtUserIDList     []string `json:"atUserList"`
	SenderFaceURL    string   `json:"faceURL"`
	Ex               string   `json:"ex"`
}

type CommonCallbackResp

type CommonCallbackResp struct {
	ActionCode  int    `json:"actionCode"`
	ErrCode     int    `json:"errCode"`
	ErrMsg      string `json:"errMsg"`
	OperationID string `json:"operationID"`
}

type UserStatusBaseCallback

type UserStatusBaseCallback struct {
	CallbackCommand string `json:"callbackCommand"`
	OperationID     string `json:"operationID"`
	PlatformID      int32  `json:"platformID"`
	Platform        string `json:"platform"`
}

type UserStatusBatchCallbackReq

type UserStatusBatchCallbackReq struct {
	UserStatusBaseCallback
	UserIDList []string `json:"userIDList"`
}

type UserStatusCallbackReq

type UserStatusCallbackReq struct {
	UserStatusBaseCallback
	UserID string `json:"userID"`
}

Jump to

Keyboard shortcuts

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