callbackstruct

package
v3.8.2-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	CallbackBeforeInviteJoinGroupCommand    = "callbackBeforeInviteJoinGroupCommand"
	CallbackAfterJoinGroupCommand           = "callbackAfterJoinGroupCommand"
	CallbackAfterSetGroupInfoCommand        = "callbackAfterSetGroupInfoCommand"
	CallbackAfterSetGroupInfoExCommand      = "callbackAfterSetGroupInfoExCommand"
	CallbackBeforeSetGroupInfoCommand       = "callbackBeforeSetGroupInfoCommand"
	CallbackBeforeSetGroupInfoExCommand     = "callbackBeforeSetGroupInfoExCommand"
	CallbackAfterRevokeMsgCommand           = "callbackBeforeAfterMsgCommand"
	CallbackBeforeAddBlackCommand           = "callbackBeforeAddBlackCommand"
	CallbackAfterAddFriendCommand           = "callbackAfterAddFriendCommand"
	CallbackBeforeAddFriendAgreeCommand     = "callbackBeforeAddFriendAgreeCommand"
	CallbackAfterAddFriendAgreeCommand      = "callbackAfterAddFriendAgreeCommand"
	CallbackAfterDeleteFriendCommand        = "callbackAfterDeleteFriendCommand"
	CallbackBeforeImportFriendsCommand      = "callbackBeforeImportFriendsCommand"
	CallbackAfterImportFriendsCommand       = "callbackAfterImportFriendsCommand"
	CallbackAfterRemoveBlackCommand         = "callbackAfterRemoveBlackCommand"
	CallbackAfterQuitGroupCommand           = "callbackAfterQuitGroupCommand"
	CallbackAfterKickGroupCommand           = "callbackAfterKickGroupCommand"
	CallbackAfterDisMissGroupCommand        = "callbackAfterDisMissGroupCommand"
	CallbackBeforeJoinGroupCommand          = "callbackBeforeJoinGroupCommand"
	CallbackAfterGroupMsgReadCommand        = "callbackAfterGroupMsgReadCommand"
	CallbackBeforeMsgModifyCommand          = "callbackBeforeMsgModifyCommand"
	CallbackAfterUpdateUserInfoCommand      = "callbackAfterUpdateUserInfoCommand"
	CallbackAfterUpdateUserInfoExCommand    = "callbackAfterUpdateUserInfoExCommand"
	CallbackBeforeUpdateUserInfoExCommand   = "callbackBeforeUpdateUserInfoExCommand"
	CallbackBeforeUserRegisterCommand       = "callbackBeforeUserRegisterCommand"
	CallbackAfterUserRegisterCommand        = "callbackAfterUserRegisterCommand"
	CallbackAfterTransferGroupOwnerCommand  = "callbackAfterTransferGroupOwnerCommand"
	CallbackBeforeSetFriendRemarkCommand    = "callbackBeforeSetFriendRemarkCommand"
	CallbackAfterSetFriendRemarkCommand     = "callbackAfterSetFriendRemarkCommand"
	CallbackAfterSingleMsgReadCommand       = "callbackAfterSingleMsgReadCommand"
	CallbackBeforeSendSingleMsgCommand      = "callbackBeforeSendSingleMsgCommand"
	CallbackAfterSendSingleMsgCommand       = "callbackAfterSendSingleMsgCommand"
	CallbackBeforeSendGroupMsgCommand       = "callbackBeforeSendGroupMsgCommand"
	CallbackAfterSendGroupMsgCommand        = "callbackAfterSendGroupMsgCommand"
	CallbackAfterUserOnlineCommand          = "callbackAfterUserOnlineCommand"
	CallbackAfterUserOfflineCommand         = "callbackAfterUserOfflineCommand"
	CallbackAfterUserKickOffCommand         = "callbackAfterUserKickOffCommand"
	CallbackBeforeOfflinePushCommand        = "callbackBeforeOfflinePushCommand"
	CallbackBeforeOnlinePushCommand         = "callbackBeforeOnlinePushCommand"
	CallbackBeforeGroupOnlinePushCommand    = "callbackBeforeGroupOnlinePushCommand"
	CallbackBeforeAddFriendCommand          = "callbackBeforeAddFriendCommand"
	CallbackBeforeUpdateUserInfoCommand     = "callbackBeforeUpdateUserInfoCommand"
	CallbackBeforeCreateGroupCommand        = "callbackBeforeCreateGroupCommand"
	CallbackAfterCreateGroupCommand         = "callbackAfterCreateGroupCommand"
	CallbackBeforeMembersJoinGroupCommand   = "callbackBeforeMembersJoinGroupCommand"
	CallbackBeforeSetGroupMemberInfoCommand = "callbackBeforeSetGroupMemberInfoCommand"
	CallbackAfterSetGroupMemberInfoCommand  = "callbackAfterSetGroupMemberInfoCommand"
)
View Source
const (
	Next = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CallBackAddFriendReplyBeforeReq added in v3.4.2

type CallBackAddFriendReplyBeforeReq struct {
	CallbackCommand `json:"callbackCommand"`
	FromUserID      string `json:"fromUserID" `
	ToUserID        string `json:"toUserID"`
}

type CallBackAddFriendReplyBeforeResp added in v3.4.2

type CallBackAddFriendReplyBeforeResp struct {
	CommonCallbackResp
}

type CallbackAfterAddFriendAgreeReq added in v3.8.1

type CallbackAfterAddFriendAgreeReq struct {
	CallbackCommand `json:"callbackCommand"`
	FromUserID      string `json:"fromUserID" `
	ToUserID        string `json:"blackUserID"`
	HandleResult    int32  `json:"HandleResult"`
	HandleMsg       string `json:"HandleMsg"`
}

type CallbackAfterAddFriendAgreeResp added in v3.8.1

type CallbackAfterAddFriendAgreeResp struct {
	CommonCallbackResp
}

type CallbackAfterAddFriendReq added in v3.4.2

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

type CallbackAfterAddFriendResp added in v3.4.2

type CallbackAfterAddFriendResp struct {
	CommonCallbackResp
}

type CallbackAfterCreateGroupReq added in v3.4.2

type CallbackAfterCreateGroupReq struct {
	CallbackCommand `json:"callbackCommand"`
	*common.GroupInfo
	InitMemberList []*apistruct.GroupAddMemberInfo `json:"initMemberList"`
}

type CallbackAfterCreateGroupResp added in v3.4.2

type CallbackAfterCreateGroupResp struct {
	CommonCallbackResp
}

type CallbackAfterDeleteFriendReq added in v3.4.2

type CallbackAfterDeleteFriendReq struct {
	CallbackCommand `json:"callbackCommand"`
	OwnerUserID     string `json:"ownerUserID" `
	FriendUserID    string `json:"friendUserID"`
}

type CallbackAfterDeleteFriendResp added in v3.4.2

type CallbackAfterDeleteFriendResp struct {
	CommonCallbackResp
}

type CallbackAfterImportFriendsReq added in v3.4.2

type CallbackAfterImportFriendsReq struct {
	CallbackCommand `json:"callbackCommand"`
	OwnerUserID     string   `json:"ownerUserID" `
	FriendUserIDs   []string `json:"friendUserIDs"`
}

type CallbackAfterImportFriendsResp added in v3.4.2

type CallbackAfterImportFriendsResp struct {
	CommonCallbackResp
}

type CallbackAfterJoinGroupReq added in v3.4.2

type CallbackAfterJoinGroupReq struct {
	CallbackCommand `json:"callbackCommand"`
	OperationID     string `json:"operationID"`
	GroupID         string `json:"groupID"`
	ReqMessage      string `json:"reqMessage"`
	JoinSource      int32  `json:"joinSource"`
	InviterUserID   string `json:"inviterUserID"`
}

type CallbackAfterJoinGroupResp added in v3.4.2

type CallbackAfterJoinGroupResp struct {
	CommonCallbackResp
}

type CallbackAfterRemoveBlackReq added in v3.4.2

type CallbackAfterRemoveBlackReq struct {
	CallbackCommand `json:"callbackCommand"`
	OwnerUserID     string `json:"ownerUserID"`
	BlackUserID     string `json:"blackUserID"`
}

type CallbackAfterRemoveBlackResp added in v3.4.2

type CallbackAfterRemoveBlackResp struct {
	CommonCallbackResp
}

type CallbackAfterRevokeMsgReq added in v3.4.2

type CallbackAfterRevokeMsgReq struct {
	CallbackCommand `json:"callbackCommand"`
	ConversationID  string `json:"conversationID"`
	Seq             int64  `json:"seq"`
	UserID          string `json:"userID"`
}

type CallbackAfterRevokeMsgResp added in v3.4.2

type CallbackAfterRevokeMsgResp 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 CallbackAfterSetFriendRemarkReq added in v3.4.2

type CallbackAfterSetFriendRemarkReq struct {
	CallbackCommand `json:"callbackCommand"`
	OwnerUserID     string `json:"ownerUserID"`
	FriendUserID    string `json:"friendUserID"`
	Remark          string `json:"remark"`
}

type CallbackAfterSetFriendRemarkResp added in v3.4.2

type CallbackAfterSetFriendRemarkResp struct {
	CommonCallbackResp
}

type CallbackAfterSetGroupInfoExReq added in v3.8.1

type CallbackAfterSetGroupInfoExReq struct {
	CallbackCommand   `json:"callbackCommand"`
	OperationID       string                  `json:"operationID"`
	GroupID           string                  `json:"groupID"`
	GroupName         *wrapperspb.StringValue `json:"groupName"`
	Notification      *wrapperspb.StringValue `json:"notification"`
	Introduction      *wrapperspb.StringValue `json:"introduction"`
	FaceURL           *wrapperspb.StringValue `json:"faceURL"`
	Ex                *wrapperspb.StringValue `json:"ex"`
	NeedVerification  *wrapperspb.Int32Value  `json:"needVerification"`
	LookMemberInfo    *wrapperspb.Int32Value  `json:"lookMemberInfo"`
	ApplyMemberFriend *wrapperspb.Int32Value  `json:"applyMemberFriend"`
}

type CallbackAfterSetGroupInfoExResp added in v3.8.1

type CallbackAfterSetGroupInfoExResp struct {
	CommonCallbackResp
}

type CallbackAfterSetGroupInfoReq added in v3.4.2

type CallbackAfterSetGroupInfoReq struct {
	CallbackCommand   `json:"callbackCommand"`
	OperationID       string  `json:"operationID"`
	GroupID           string  `json:"groupID"`
	GroupName         string  `json:"groupName"`
	Notification      string  `json:"notification"`
	Introduction      string  `json:"introduction"`
	FaceURL           string  `json:"faceURL"`
	Ex                *string `json:"ex"`
	NeedVerification  *int32  `json:"needVerification"`
	LookMemberInfo    *int32  `json:"lookMemberInfo"`
	ApplyMemberFriend *int32  `json:"applyMemberFriend"`
}

type CallbackAfterSetGroupInfoResp added in v3.4.2

type CallbackAfterSetGroupInfoResp struct {
	CommonCallbackResp
}

type CallbackAfterSetGroupMemberInfoReq added in v3.4.2

type CallbackAfterSetGroupMemberInfoReq struct {
	CallbackCommand `json:"callbackCommand"`
	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 CallbackAfterSetGroupMemberInfoResp added in v3.4.2

type CallbackAfterSetGroupMemberInfoResp struct {
	CommonCallbackResp
}

type CallbackAfterUpdateUserInfoExReq added in v3.5.0

type CallbackAfterUpdateUserInfoExReq struct {
	CallbackCommand `json:"callbackCommand"`
	UserID          string                  `json:"userID"`
	Nickname        *wrapperspb.StringValue `json:"nickName"`
	FaceURL         *wrapperspb.StringValue `json:"faceURL"`
	Ex              *wrapperspb.StringValue `json:"ex"`
}

type CallbackAfterUpdateUserInfoExResp added in v3.5.0

type CallbackAfterUpdateUserInfoExResp struct {
	CommonCallbackResp
}

type CallbackAfterUpdateUserInfoReq added in v3.4.2

type CallbackAfterUpdateUserInfoReq struct {
	CallbackCommand `json:"callbackCommand"`
	UserID          string `json:"userID"`
	Nickname        string `json:"nickName"`
	FaceURL         string `json:"faceURL"`
	Ex              string `json:"ex"`
}

type CallbackAfterUpdateUserInfoResp added in v3.4.2

type CallbackAfterUpdateUserInfoResp struct {
	CommonCallbackResp
}

type CallbackAfterUserRegisterReq added in v3.4.2

type CallbackAfterUserRegisterReq struct {
	CallbackCommand `json:"callbackCommand"`
	Users           []*sdkws.UserInfo `json:"users"`
}

type CallbackAfterUserRegisterResp added in v3.4.2

type CallbackAfterUserRegisterResp struct {
	CommonCallbackResp
}

type CallbackBeforeAddBlackReq added in v3.4.2

type CallbackBeforeAddBlackReq struct {
	CallbackCommand `json:"callbackCommand"`
	OwnerUserID     string `json:"ownerUserID" `
	BlackUserID     string `json:"blackUserID"`
}

type CallbackBeforeAddBlackResp added in v3.4.2

type CallbackBeforeAddBlackResp struct {
	CommonCallbackResp
}

type CallbackBeforeAddFriendAgreeReq added in v3.4.2

type CallbackBeforeAddFriendAgreeReq struct {
	CallbackCommand `json:"callbackCommand"`
	FromUserID      string `json:"fromUserID" `
	ToUserID        string `json:"blackUserID"`
	HandleResult    int32  `json:"HandleResult"`
	HandleMsg       string `json:"HandleMsg"`
}

type CallbackBeforeAddFriendAgreeResp added in v3.4.2

type CallbackBeforeAddFriendAgreeResp struct {
	CommonCallbackResp
}

type CallbackBeforeAddFriendReq

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

type CallbackBeforeAddFriendResp

type CallbackBeforeAddFriendResp struct {
	CommonCallbackResp
}

type CallbackBeforeCreateGroupReq

type CallbackBeforeCreateGroupReq struct {
	OperationID     string `json:"operationID"`
	CallbackCommand `json:"callbackCommand"`
	*common.GroupInfo
	InitMemberList []*apistruct.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 CallbackBeforeImportFriendsReq added in v3.4.2

type CallbackBeforeImportFriendsReq struct {
	CallbackCommand `json:"callbackCommand"`
	OwnerUserID     string   `json:"ownerUserID" `
	FriendUserIDs   []string `json:"friendUserIDs"`
}

type CallbackBeforeImportFriendsResp added in v3.4.2

type CallbackBeforeImportFriendsResp struct {
	CommonCallbackResp
	FriendUserIDs []string `json:"friendUserIDs"`
}

type CallbackBeforeInviteUserToGroupReq added in v3.4.2

type CallbackBeforeInviteUserToGroupReq struct {
	CallbackCommand `json:"callbackCommand"`
	OperationID     string   `json:"operationID"`
	GroupID         string   `json:"groupID"`
	Reason          string   `json:"reason"`
	InvitedUserIDs  []string `json:"invitedUserIDs"`
}

type CallbackBeforeInviteUserToGroupResp added in v3.4.2

type CallbackBeforeInviteUserToGroupResp struct {
	CommonCallbackResp
	RefusedMembersAccount []string `json:"refusedMembersAccount,omitempty"` // Optional field to list members whose invitation is refused.
}

type CallbackBeforeMembersJoinGroupReq added in v3.8.0

type CallbackBeforeMembersJoinGroupReq struct {
	CallbackCommand `json:"callbackCommand"`
	GroupID         string                 `json:"groupID"`
	MembersList     []*CallbackGroupMember `json:"memberList"`
	GroupEx         string                 `json:"groupEx"`
}

type CallbackBeforeMembersJoinGroupResp added in v3.8.0

type CallbackBeforeMembersJoinGroupResp struct {
	CommonCallbackResp
	MemberCallbackList []*MemberJoinGroupCallBack `json:"memberCallbackList"`
}

type CallbackBeforePushReq

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

type CallbackBeforePushResp

type CallbackBeforePushResp struct {
	CommonCallbackResp
	UserIDs         []string                `json:"userIDList"`
	OfflinePushInfo *common.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 CallbackBeforeSetFriendRemarkReq added in v3.4.2

type CallbackBeforeSetFriendRemarkReq struct {
	CallbackCommand `json:"callbackCommand"`
	OwnerUserID     string `json:"ownerUserID"`
	FriendUserID    string `json:"friendUserID"`
	Remark          string `json:"remark"`
}

type CallbackBeforeSetFriendRemarkResp added in v3.4.2

type CallbackBeforeSetFriendRemarkResp struct {
	CommonCallbackResp
	Remark string `json:"remark"`
}

type CallbackBeforeSetGroupInfoExReq added in v3.8.1

type CallbackBeforeSetGroupInfoExReq struct {
	CallbackCommand   `json:"callbackCommand"`
	OperationID       string                  `json:"operationID"`
	GroupID           string                  `json:"groupID"`
	GroupName         *wrapperspb.StringValue `json:"groupName"`
	Notification      *wrapperspb.StringValue `json:"notification"`
	Introduction      *wrapperspb.StringValue `json:"introduction"`
	FaceURL           *wrapperspb.StringValue `json:"faceURL"`
	Ex                *wrapperspb.StringValue `json:"ex"`
	NeedVerification  *wrapperspb.Int32Value  `json:"needVerification"`
	LookMemberInfo    *wrapperspb.Int32Value  `json:"lookMemberInfo"`
	ApplyMemberFriend *wrapperspb.Int32Value  `json:"applyMemberFriend"`
}

type CallbackBeforeSetGroupInfoExResp added in v3.8.1

type CallbackBeforeSetGroupInfoExResp struct {
	CommonCallbackResp
	GroupID           string                  `json:"groupID"`
	GroupName         *wrapperspb.StringValue `json:"groupName"`
	Notification      *wrapperspb.StringValue `json:"notification"`
	Introduction      *wrapperspb.StringValue `json:"introduction"`
	FaceURL           *wrapperspb.StringValue `json:"faceURL"`
	Ex                *wrapperspb.StringValue `json:"ex"`
	NeedVerification  *wrapperspb.Int32Value  `json:"needVerification"`
	LookMemberInfo    *wrapperspb.Int32Value  `json:"lookMemberInfo"`
	ApplyMemberFriend *wrapperspb.Int32Value  `json:"applyMemberFriend"`
}

type CallbackBeforeSetGroupInfoReq added in v3.4.2

type CallbackBeforeSetGroupInfoReq struct {
	CallbackCommand   `json:"callbackCommand"`
	OperationID       string `json:"operationID"`
	GroupID           string `json:"groupID"`
	GroupName         string `json:"groupName"`
	Notification      string `json:"notification"`
	Introduction      string `json:"introduction"`
	FaceURL           string `json:"faceURL"`
	Ex                string `json:"ex"`
	NeedVerification  int32  `json:"needVerification"`
	LookMemberInfo    int32  `json:"lookMemberInfo"`
	ApplyMemberFriend int32  `json:"applyMemberFriend"`
}

type CallbackBeforeSetGroupInfoResp added in v3.4.2

type CallbackBeforeSetGroupInfoResp struct {
	CommonCallbackResp
	GroupID           string  ` json:"groupID"`
	GroupName         string  `json:"groupName"`
	Notification      string  `json:"notification"`
	Introduction      string  `json:"introduction"`
	FaceURL           string  `json:"faceURL"`
	Ex                *string `json:"ex"`
	NeedVerification  *int32  `json:"needVerification"`
	LookMemberInfo    *int32  `json:"lookMemberInfo"`
	ApplyMemberFriend *int32  `json:"applyMemberFriend"`
}

type CallbackBeforeSetGroupMemberInfoReq

type CallbackBeforeSetGroupMemberInfoReq struct {
	CallbackCommand `json:"callbackCommand"`
	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 CallbackBeforeSuperGroupOnlinePushReq

type CallbackBeforeSuperGroupOnlinePushReq struct {
	UserStatusBaseCallback
	ClientMsgID string   `json:"clientMsgID"`
	SendID      string   `json:"sendID"`
	GroupID     string   `json:"groupID"`
	ContentType int32    `json:"contentType"`
	SessionType int32    `json:"sessionType"`
	AtUserIDs   []string `json:"atUserIDList"`
	Content     string   `json:"content"`
	Seq         int64    `json:"seq"`
}

type CallbackBeforeSuperGroupOnlinePushResp

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

type CallbackBeforeUpdateUserInfoExReq added in v3.5.0

type CallbackBeforeUpdateUserInfoExReq struct {
	CallbackCommand `json:"callbackCommand"`
	UserID          string                  `json:"userID"`
	Nickname        *wrapperspb.StringValue `json:"nickName"`
	FaceURL         *wrapperspb.StringValue `json:"faceURL"`
	Ex              *wrapperspb.StringValue `json:"ex"`
}

type CallbackBeforeUpdateUserInfoExResp added in v3.5.0

type CallbackBeforeUpdateUserInfoExResp struct {
	CommonCallbackResp
	Nickname *wrapperspb.StringValue `json:"nickName"`
	FaceURL  *wrapperspb.StringValue `json:"faceURL"`
	Ex       *wrapperspb.StringValue `json:"ex"`
}

type CallbackBeforeUpdateUserInfoReq added in v3.4.0

type CallbackBeforeUpdateUserInfoReq struct {
	CallbackCommand `json:"callbackCommand"`
	UserID          string  `json:"userID"`
	Nickname        *string `json:"nickName"`
	FaceURL         *string `json:"faceURL"`
	Ex              *string `json:"ex"`
}

type CallbackBeforeUpdateUserInfoResp added in v3.4.0

type CallbackBeforeUpdateUserInfoResp struct {
	CommonCallbackResp
	Nickname *string `json:"nickName"`
	FaceURL  *string `json:"faceURL"`
	Ex       *string `json:"ex"`
}

type CallbackBeforeUserRegisterReq added in v3.4.2

type CallbackBeforeUserRegisterReq struct {
	CallbackCommand `json:"callbackCommand"`
	Users           []*sdkws.UserInfo `json:"users"`
}

type CallbackBeforeUserRegisterResp added in v3.4.2

type CallbackBeforeUserRegisterResp struct {
	CommonCallbackResp
	Users []*sdkws.UserInfo `json:"users"`
}

type CallbackCommand

type CallbackCommand string

func (CallbackCommand) GetCallbackCommand

func (c CallbackCommand) GetCallbackCommand() string

type CallbackDisMissGroupReq added in v3.4.2

type CallbackDisMissGroupReq struct {
	CallbackCommand `json:"callbackCommand"`
	GroupID         string   `json:"groupID"`
	OwnerID         string   `json:"ownerID"`
	GroupType       string   `json:"groupType"`
	MembersID       []string `json:"membersID"`
}

type CallbackDisMissGroupResp added in v3.4.2

type CallbackDisMissGroupResp struct {
	CommonCallbackResp
}

type CallbackGroupMember added in v3.8.0

type CallbackGroupMember struct {
	UserID string `json:"userID"`
	Ex     string `json:"ex"`
}

type CallbackGroupMsgReadReq added in v3.4.2

type CallbackGroupMsgReadReq struct {
	CallbackCommand `json:"callbackCommand"`
	SendID          string `json:"sendID"`
	ReceiveID       string `json:"receiveID"`
	UnreadMsgNum    int64  `json:"unreadMsgNum"`
	ContentType     int64  `json:"contentType"`
}

type CallbackGroupMsgReadResp added in v3.4.2

type CallbackGroupMsgReadResp struct {
	CommonCallbackResp
}

type CallbackJoinGroupReq added in v3.4.2

type CallbackJoinGroupReq struct {
	CallbackCommand `json:"callbackCommand"`
	GroupID         string `json:"groupID"`
	GroupType       string `json:"groupType"`
	ApplyID         string `json:"applyID"`
	ReqMessage      string `json:"reqMessage"`
	Ex              string `json:"ex"`
}

type CallbackJoinGroupResp added in v3.4.2

type CallbackJoinGroupResp struct {
	CommonCallbackResp
}

type CallbackKillGroupMemberReq added in v3.4.2

type CallbackKillGroupMemberReq struct {
	CallbackCommand `json:"callbackCommand"`
	GroupID         string   `json:"groupID"`
	KickedUserIDs   []string `json:"kickedUserIDs"`
	Reason          string   `json:"reason"`
}

type CallbackKillGroupMemberResp added in v3.4.2

type CallbackKillGroupMemberResp struct {
	CommonCallbackResp
}

type CallbackMsgModifyCommandReq

type CallbackMsgModifyCommandReq struct {
	CommonCallbackReq
}

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  *sdkws.OfflinePushInfo `json:"offlinePushInfo"`
	AtUserIDList     *[]string              `json:"atUserIDList"`
	MsgDataList      *[]byte                `json:"msgDataList"`
	AttachedInfo     *string                `json:"attachedInfo"`
	Ex               *string                `json:"ex"`
}

type CallbackQuitGroupReq added in v3.4.2

type CallbackQuitGroupReq struct {
	CallbackCommand `json:"callbackCommand"`
	GroupID         string `json:"groupID"`
	UserID          string `json:"userID"`
}

type CallbackQuitGroupResp added in v3.4.2

type CallbackQuitGroupResp struct {
	CommonCallbackResp
}

type CallbackReq

type CallbackReq interface {
	GetCallbackCommand() string
}

type CallbackResp

type CallbackResp interface {
	Parse() (err error)
}

type CallbackSingleMsgReadReq added in v3.4.2

type CallbackSingleMsgReadReq struct {
	CallbackCommand `json:"callbackCommand"`
	ConversationID  string  `json:"conversationID"`
	UserID          string  `json:"userID"`
	Seqs            []int64 `json:"Seqs"`
	ContentType     int32   `json:"contentType"`
}

type CallbackSingleMsgReadResp added in v3.4.2

type CallbackSingleMsgReadResp struct {
	CommonCallbackResp
}

type CallbackTransferGroupOwnerReq added in v3.4.2

type CallbackTransferGroupOwnerReq struct {
	CallbackCommand `json:"callbackCommand"`
	GroupID         string `json:"groupID"`
	OldOwnerUserID  string `json:"oldOwnerUserID"`
	NewOwnerUserID  string `json:"newOwnerUserID"`
}

type CallbackTransferGroupOwnerResp added in v3.4.2

type CallbackTransferGroupOwnerResp struct {
	CommonCallbackResp
}

type CallbackUserKickOffReq

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

type CallbackUserKickOffResp

type CallbackUserKickOffResp struct {
	CommonCallbackResp
}

type CallbackUserOfflineReq

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

type CallbackUserOfflineResp

type CallbackUserOfflineResp struct {
	CommonCallbackResp
}

type CallbackUserOnlineReq

type CallbackUserOnlineReq struct {
	UserStatusCallbackReq
	// Token           string `json:"token"`
	Seq             int64  `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"`
	SendTime         int64    `json:"sendTime"`
	CreateTime       int64    `json:"createTime"`
	Content          string   `json:"content"`
	Seq              uint32   `json:"seq"`
	AtUserIDList     []string `json:"atUserList"`
	SenderFaceURL    string   `json:"faceURL"`
	Ex               string   `json:"ex"`
}

func (*CommonCallbackReq) GetCallbackCommand

func (c *CommonCallbackReq) GetCallbackCommand() string

type CommonCallbackResp

type CommonCallbackResp struct {
	ActionCode int32  `json:"actionCode"`
	ErrCode    int32  `json:"errCode"`
	ErrMsg     string `json:"errMsg"`
	ErrDlt     string `json:"errDlt"`
	NextCode   int32  `json:"nextCode"`
}

func (CommonCallbackResp) Parse

func (c CommonCallbackResp) Parse() error

type MemberJoinGroupCallBack added in v3.8.0

type MemberJoinGroupCallBack struct {
	UserID      *string `json:"userID"`
	Nickname    *string `json:"nickname"`
	FaceURL     *string `json:"faceURL"`
	RoleLevel   *int32  `json:"roleLevel"`
	MuteEndTime *int64  `json:"muteEndTime"`
	Ex          *string `json:"ex"`
}

type UserStatusBaseCallback

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

func (UserStatusBaseCallback) GetCallbackCommand

func (c UserStatusBaseCallback) GetCallbackCommand() string

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