Documentation
¶
Index ¶
- type AccountCheckReq
- type AccountCheckResp
- type AccountCheckResp_SingleUserStatus
- type AccountcheckrespSingleuserstatus
- type AddBlacklistReq
- type AddBlacklistResp
- type AddFriendReq
- type AddFriendResp
- type AddFriendResponseReq
- type AddFriendResponseResp
- type AddMessageReactionExtensionsReq
- type AddMessageReactionExtensionsResp
- type ApiResult
- type ApiUserInfo
- type ApplicationGroupResponseReq
- type ApplicationGroupResponseResp
- type AwsStorageCredentialReq
- type AwsStorageCredentialResp
- type BatchSetConversationsReq
- type BatchSetConversationsResp
- type CancelMuteGroupMemberReq
- type CancelMuteGroupMemberResp
- type CancelMuteGroupReq
- type CancelMuteGroupResp
- type CleanUpMsgReq
- type CleanUpMsgResp
- type CommDataResp
- type CommDataRespOne
- type CommResp
- type Conversation
- type CreateGroupReq
- type CreateGroupResp
- type DelSuperGroupMsgReq
- type DelSuperGroupMsgResp
- type DeleteFriendReq
- type DeleteFriendResp
- type DeleteMessageReactionExtensionsReq
- type DeleteMessageReactionExtensionsResp
- type DeleteMsgReq
- type DeleteMsgResp
- type DeleteUsersReq
- type DeleteUsersResp
- type DismissGroupReq
- type DismissGroupResp
- type ExpireTime
- type ExtensionResult
- type FcmUpdateTokenReq
- type FcmUpdateTokenResp
- type FullUserInfo
- type FullUserInfoWithCache
- type GetAllConversationsReq
- type GetAllConversationsResp
- type GetAllUsersUidReq
- type GetAllUsersUidResp
- type GetBlackListReq
- type GetBlackListResp
- type GetConversationRecvMessageOptResp
- type GetConversationReq
- type GetConversationResp
- type GetConversationsReq
- type GetConversationsResp
- type GetFriendApplyListReq
- type GetFriendApplyListResp
- type GetFriendListReq
- type GetFriendListResp
- type GetFriendsInfoReq
- type GetFriendsInfoResp
- type GetGroupAbstractInfoReq
- type GetGroupAbstractInfoResp
- type GetGroupAllMemberReq
- type GetGroupAllMemberResp
- type GetGroupApplicationListReq
- type GetGroupApplicationListResp
- type GetGroupInfoReq
- type GetGroupInfoResp
- type GetGroupMemberListReq
- type GetGroupMemberListResp
- type GetGroupMembersInfoReq
- type GetGroupMembersInfoResp
- type GetJoinedGroupListReq
- type GetJoinedGroupListResp
- type GetJoinedSuperGroupReq
- type GetJoinedSuperGroupResp
- type GetMessageListReactionExtensionsReq
- type GetMessageListReactionExtensionsResp
- type GetSelfFriendApplyListReq
- type GetSelfFriendApplyListResp
- type GetSelfUserInfoReq
- type GetSelfUserInfoResp
- type GetSuperGroupsInfoReq
- type GetSuperGroupsInfoResp
- type GetUserReqGroupApplicationListReq
- type GetUserRespGroupApplicationResp
- type GetUsersInfoReq
- type GetUsersInfoResp
- type GetUsersOnlineStatusReq
- type GetUsersOnlineStatusResp
- type GetusersonlinestatusrespSuccessdetail
- type GetusersonlinestatusrespSuccessresult
- type GroupAddMemberInfo
- type ImportFriendReq
- type ImportFriendResp
- type InviteUserToGroupReq
- type InviteUserToGroupResp
- type IsFriendReq
- type IsFriendResp
- type JoinGroupReq
- type JoinGroupResp
- type KeyValue
- type KeyValueResp
- type KickGroupMemberReq
- type KickGroupMemberResp
- type MinioStorageCredentialReq
- type MinioStorageCredentialResp
- type ModifyConversationFieldReq
- type ModifyConversationFieldResp
- type MsgDeleteNotificationElem
- type MuteGroupMemberReq
- type MuteGroupMemberResp
- type MuteGroupReq
- type MuteGroupResp
- type OSSCredentialReq
- type OSSCredentialResp
- type OSSCredentialRespData
- type OperateMessageListReactionExtensionsReq
- type ParamsCommFriend
- type ParseTokenReq
- type ParseTokenResp
- type PublicUser
- type QuitGroupReq
- type QuitGroupResp
- type ReactionMessageDeleteNotification
- type ReactionMessageModifierNotification
- type RemoveBlackListReq
- type RemoveBlackListResp
- type Response
- type SetAppBadgeReq
- type SetAppBadgeResp
- type SetConversationReq
- type SetConversationResp
- type SetFriendRemarkReq
- type SetFriendRemarkResp
- type SetGlobalRecvMessageOptReq
- type SetGlobalRecvMessageOptResp
- type SetGroupInfoReq
- type SetGroupInfoResp
- type SetGroupMemberBaseInfoReq
- type SetGroupMemberInfoReq
- type SetGroupMemberNicknameReq
- type SetGroupMemberNicknameResp
- type SetGroupMemberRoleLevelReq
- type SetGroupMemberRoleLevelResp
- type SetMessageReactionExtensionsReq
- type SetMessageReactionExtensionsResp
- type SingleMessageExtensionResult
- type TransferGroupOwnerReq
- type TransferGroupOwnerResp
- type UpdateSelfUserInfoReq
- type UpdateUserInfoResp
- type UserIDResult
- type UserRegisterReq
- type UserRegisterResp
- type UserTokenInfo
- type UserTokenReq
- type UserTokenResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCheckReq ¶
type AccountCheckResp ¶
type AccountCheckResp struct {
CommResp
Results []*AccountCheckResp_SingleUserStatus `json:"data"`
}
type AccountcheckrespSingleuserstatus ¶
type AccountcheckrespSingleuserstatus struct {
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
AccountStatus string `protobuf:"bytes,2,opt,name=accountStatus" json:"accountStatus,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
type AddBlacklistReq ¶
type AddBlacklistReq struct {
ParamsCommFriend
}
type AddBlacklistResp ¶
type AddBlacklistResp struct {
CommResp
}
type AddFriendReq ¶
type AddFriendReq struct {
ParamsCommFriend
ReqMsg string `json:"reqMsg"`
}
type AddFriendResp ¶
type AddFriendResp struct {
CommResp
}
type AddFriendResponseReq ¶
type AddFriendResponseReq struct {
ParamsCommFriend
Flag int32 `json:"flag" binding:"required,oneof=-1 0 1"`
HandleMsg string `json:"handleMsg"`
}
type AddFriendResponseResp ¶
type AddFriendResponseResp struct {
CommResp
}
type AddMessageReactionExtensionsReq ¶
type AddMessageReactionExtensionsReq struct {
OperationID string `json:"operationID" validate:"required"`
ClientMsgID string `json:"clientMsgID" validate:"required"`
SourceID string `json:"sourceID" validate:"required"`
SessionType int32 `json:"sessionType" validate:"required"`
ReactionExtensionList map[string]*KeyValue `json:"reactionExtensionList"`
IsReact bool `json:"isReact,omitempty"`
IsExternalExtensions bool `json:"isExternalExtensions,omitempty"`
MsgFirstModifyTime int64 `json:"msgFirstModifyTime,omitempty"`
Seq int64 `json:"seq"`
}
type AddMessageReactionExtensionsResp ¶
type AddMessageReactionExtensionsResp struct {
CommResp
ApiResult struct {
Result []*ExtensionResult `json:"result"`
MsgFirstModifyTime int64 `json:"msgFirstModifyTime"`
IsReact bool `json:"isReact"`
}
Data map[string]interface{} `json:"data"`
}
type ApiResult ¶
type ApiResult struct {
Result []*ExtensionResult `json:"result"`
MsgFirstModifyTime int64 `json:"msgFirstModifyTime"`
IsReact bool `json:"isReact"`
}
type ApiUserInfo ¶
type ApiUserInfo struct {
UserID string `json:"userID" binding:"required,min=1,max=64"`
Nickname string `json:"nickname" binding:"omitempty,min=1,max=64"`
FaceURL string `json:"faceURL" binding:"omitempty,max=1024"`
GlobalRecvMsgOpt int32 `json:"globalRecvMsgOpt" binding:"omitempty,oneof=0 1 2"`
Ex string `json:"ex" binding:"omitempty,max=1024"`
}
type ApplicationGroupResponseReq ¶
type ApplicationGroupResponseReq struct {
OperationID string `json:"operationID" binding:"required"`
GroupID string `json:"groupID" binding:"required"`
FromUserID string `json:"fromUserID" binding:"required"` //application from FromUserID
HandledMsg string `json:"handledMsg"`
HandleResult int32 `json:"handleResult" binding:"required,oneof=-1 1"`
}
type ApplicationGroupResponseResp ¶
type ApplicationGroupResponseResp struct {
CommResp
}
type AwsStorageCredentialReq ¶
type AwsStorageCredentialReq struct {
OperationID string `json:"operationID"`
}
type BatchSetConversationsReq ¶
type BatchSetConversationsReq struct {
Conversations []Conversation `json:"conversations" binding:"required"`
OwnerUserID string `json:"ownerUserID" binding:"required"`
NotificationType int `json:"notificationType"`
OperationID string `json:"operationID" binding:"required"`
}
type CancelMuteGroupMemberResp ¶
type CancelMuteGroupMemberResp struct {
CommResp
}
type CancelMuteGroupReq ¶
type CancelMuteGroupResp ¶
type CancelMuteGroupResp struct {
CommResp
}
type CleanUpMsgReq ¶
type CleanUpMsgResp ¶
type CleanUpMsgResp struct {
CommResp
}
type CommDataResp ¶
type CommDataRespOne ¶
type Conversation ¶
type Conversation struct {
OwnerUserID string `json:"ownerUserID" binding:"required"`
ConversationID string `json:"conversationID" binding:"required"`
ConversationType int32 `json:"conversationType" binding:"required"`
UserID string `json:"userID"`
GroupID string `json:"groupID"`
RecvMsgOpt int32 `json:"recvMsgOpt"`
UnreadCount int32 `json:"unreadCount"`
DraftTextTime int64 `json:"draftTextTime"`
IsPinned bool `json:"isPinned"`
IsPrivateChat bool `json:"isPrivateChat"`
BurnDuration int32 `json:"burnDuration"`
GroupAtType int32 `json:"groupAtType"`
IsNotInGroup bool `json:"isNotInGroup"`
UpdateUnreadCountTime int64 ` json:"updateUnreadCountTime"`
AttachedInfo string `json:"attachedInfo"`
Ex string `json:"ex"`
}
type CreateGroupReq ¶
type CreateGroupReq struct {
MemberList []*GroupAddMemberInfo `json:"memberList" binding:"required"`
OwnerUserID string `json:"ownerUserID" binding:"required"`
GroupType int32 `json:"groupType"`
GroupName string `json:"groupName"`
Notification string `json:"notification"`
Introduction string `json:"introduction"`
FaceURL string `json:"faceURL"`
Ex string `json:"ex"`
OperationID string `json:"operationID" binding:"required"`
}
type CreateGroupResp ¶
type DelSuperGroupMsgReq ¶
type DelSuperGroupMsgReq struct {
UserID string `json:"userID,omitempty" binding:"required"`
GroupID string `json:"groupID,omitempty" binding:"required"`
SeqList []int64 `json:"seqList,omitempty"`
IsAllDelete bool `json:"isAllDelete"`
OperationID string `json:"operationID,omitempty" binding:"required"`
}
type DelSuperGroupMsgResp ¶
type DelSuperGroupMsgResp struct {
CommResp
}
type DeleteFriendReq ¶
type DeleteFriendReq struct {
ParamsCommFriend
}
type DeleteFriendResp ¶
type DeleteFriendResp struct {
CommResp
}
type DeleteMessageReactionExtensionsReq ¶
type DeleteMessageReactionExtensionsReq struct {
OperationID string `json:"operationID" binding:"required"`
SourceID string `json:"sourceID" binding:"required"`
SessionType int32 `json:"sessionType" binding:"required"`
ClientMsgID string `json:"clientMsgID" binding:"required"`
IsExternalExtensions bool `json:"isExternalExtensions"`
MsgFirstModifyTime int64 `json:"msgFirstModifyTime" binding:"required"`
ReactionExtensionList []*KeyValue `json:"reactionExtensionList" binding:"required"`
}
type DeleteMessageReactionExtensionsResp ¶
type DeleteMessageReactionExtensionsResp struct {
CommResp
Result []*ExtensionResult
Data map[string]interface{} `json:"data"`
}
type DeleteMsgReq ¶
type DeleteMsgResp ¶
type DeleteMsgResp struct {
}
type DeleteUsersReq ¶
type DeleteUsersResp ¶
type DismissGroupReq ¶
type DismissGroupResp ¶
type DismissGroupResp struct {
CommResp
}
type ExpireTime ¶
type ExpireTime struct {
ExpireTimeSeconds uint32 `json:"expireTimeSeconds" `
}
type ExtensionResult ¶
type FcmUpdateTokenReq ¶
type FcmUpdateTokenResp ¶
type FcmUpdateTokenResp struct {
CommResp
}
type FullUserInfo ¶
type FullUserInfo struct {
PublicInfo *PublicUser `json:"publicInfo"`
FriendInfo *model_struct.LocalFriend `json:"friendInfo"`
BlackInfo *model_struct.LocalBlack `json:"blackInfo"`
}
type FullUserInfoWithCache ¶
type FullUserInfoWithCache struct {
PublicInfo *PublicUser `json:"publicInfo"`
FriendInfo *model_struct.LocalFriend `json:"friendInfo"`
BlackInfo *model_struct.LocalBlack `json:"blackInfo"`
GroupMemberInfo *model_struct.LocalGroupMember `json:"groupMemberInfo"`
}
type GetAllConversationsReq ¶
type GetAllConversationsResp ¶
type GetAllConversationsResp struct {
Conversations []Conversation `json:"data"`
}
type GetAllUsersUidReq ¶
type GetAllUsersUidReq struct {
OperationID string `json:"operationID" binding:"required"`
}
type GetAllUsersUidResp ¶
type GetBlackListReq ¶
type GetBlackListResp ¶
type GetBlackListResp struct {
CommResp
BlackUserInfoList []*sdkws.PublicUserInfo
Data []map[string]interface{} `json:"data"`
}
type GetConversationReq ¶
type GetConversationResp ¶
type GetConversationResp struct {
Conversation Conversation `json:"data"`
}
type GetConversationsReq ¶
type GetConversationsResp ¶
type GetConversationsResp struct {
CommResp
Conversations []Conversation `json:"data"`
}
type GetFriendApplyListReq ¶
type GetFriendApplyListResp ¶
type GetFriendApplyListResp struct {
CommResp
FriendRequestList []*sdkws.FriendRequest
Data []map[string]interface{} `json:"data"`
}
type GetFriendListReq ¶
type GetFriendListResp ¶
type GetFriendListResp struct {
CommResp
FriendInfoList []*sdkws.FriendInfo
Data []map[string]interface{} `json:"data"`
}
type GetFriendsInfoReq ¶
type GetFriendsInfoReq struct {
ParamsCommFriend
}
type GetFriendsInfoResp ¶
type GetFriendsInfoResp struct {
CommResp
FriendInfoList []*sdkws.FriendInfo
Data []map[string]interface{} `json:"data"`
}
type GetGroupAbstractInfoReq ¶
type GetGroupAllMemberReq ¶
type GetGroupAllMemberResp ¶
type GetGroupAllMemberResp struct {
CommResp
MemberList []*sdkws.GroupMemberFullInfo `json:"-"`
Data []map[string]interface{} `json:"data"`
}
type GetGroupApplicationListResp ¶
type GetGroupApplicationListResp struct {
CommResp
GroupRequestList []*sdkws.GroupRequest
Data []map[string]interface{} `json:"data"`
}
type GetGroupInfoReq ¶
type GetGroupInfoResp ¶
type GetGroupMemberListReq ¶
type GetGroupMemberListResp ¶
type GetGroupMemberListResp struct {
CommResp
NextSeq int32 `json:"nextSeq"`
MemberList []*sdkws.GroupMemberFullInfo
Data []map[string]interface{} `json:"data"`
}
type GetGroupMembersInfoReq ¶
type GetGroupMembersInfoResp ¶
type GetGroupMembersInfoResp struct {
CommResp
MemberList []*sdkws.GroupMemberFullInfo `json:"-"`
Data []map[string]interface{} `json:"data"`
}
type GetJoinedGroupListReq ¶
type GetJoinedGroupListResp ¶
type GetJoinedSuperGroupReq ¶
type GetJoinedSuperGroupReq struct {
GetJoinedGroupListReq
}
type GetJoinedSuperGroupResp ¶
type GetJoinedSuperGroupResp struct {
GetJoinedGroupListResp
}
type GetMessageListReactionExtensionsReq ¶
type GetMessageListReactionExtensionsReq struct {
OperationID string `json:"operationID" binding:"required"`
SourceID string `json:"sourceID" binding:"required"`
SessionType int32 `json:"sessionType" binding:"required"`
IsExternalExtensions bool `json:"isExternalExtensions"`
TypeKeyList []string `json:"typeKeyList"`
MessageReactionKeyList []OperateMessageListReactionExtensionsReq `json:"messageReactionKeyList" binding:"required"`
}
type GetMessageListReactionExtensionsResp ¶
type GetMessageListReactionExtensionsResp []*SingleMessageExtensionResult
type GetSelfFriendApplyListResp ¶
type GetSelfFriendApplyListResp struct {
CommResp
FriendRequestList []*sdkws.FriendRequest
Data []map[string]interface{} `json:"data"`
}
type GetSelfUserInfoReq ¶
type GetSelfUserInfoResp ¶
type GetSuperGroupsInfoReq ¶
type GetSuperGroupsInfoReq struct {
GetGroupInfoReq
}
type GetSuperGroupsInfoResp ¶
type GetSuperGroupsInfoResp struct {
GetGroupInfoResp
}
type GetUserRespGroupApplicationResp ¶
type GetUserRespGroupApplicationResp struct {
CommResp
GroupRequestList []*sdkws.GroupRequest `json:"-"`
}
type GetUsersInfoReq ¶
type GetUsersInfoResp ¶
type GetUsersInfoResp struct {
CommResp
UserInfoList []*sdkws.PublicUserInfo
Data []map[string]interface{} `json:"data"`
}
type GetUsersOnlineStatusReq ¶
type GetUsersOnlineStatusResp ¶
type GetUsersOnlineStatusResp struct {
CommResp
SuccessResult []GetusersonlinestatusrespSuccessresult `json:"data"`
}
type GetusersonlinestatusrespSuccessdetail ¶
type GetusersonlinestatusrespSuccessdetail struct {
Platform string `protobuf:"bytes,1,opt,name=platform" json:"platform,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
type GetusersonlinestatusrespSuccessresult ¶
type GetusersonlinestatusrespSuccessresult struct {
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
DetailPlatformStatus []*GetusersonlinestatusrespSuccessdetail `protobuf:"bytes,3,rep,name=detailPlatformStatus" json:"detailPlatformStatus,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
type GroupAddMemberInfo ¶
type ImportFriendReq ¶
type ImportFriendResp ¶
type ImportFriendResp struct {
CommResp
UserIDResultList []UserIDResult `json:"data"`
}
type InviteUserToGroupReq ¶
type InviteUserToGroupResp ¶
type InviteUserToGroupResp struct {
CommResp
UserIDResultList []*UserIDResult `json:"data"`
}
type IsFriendReq ¶
type IsFriendReq struct {
ParamsCommFriend
}
type IsFriendResp ¶
type JoinGroupReq ¶
type JoinGroupResp ¶
type JoinGroupResp struct {
CommResp
}
type KeyValueResp ¶
type KeyValueResp struct {
KeyValue *KeyValue `protobuf:"bytes,1,opt,name=keyValue" json:"keyValue,omitempty"`
ErrCode int32 `protobuf:"varint,2,opt,name=errCode" json:"errCode,omitempty"`
ErrMsg string `protobuf:"bytes,3,opt,name=errMsg" json:"errMsg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
type KickGroupMemberReq ¶
type KickGroupMemberResp ¶
type KickGroupMemberResp struct {
CommResp
UserIDResultList []*UserIDResult `json:"data"`
}
type MinioStorageCredentialReq ¶
type MinioStorageCredentialReq struct {
OperationID string `json:"operationID"`
}
type MinioStorageCredentialResp ¶
type MinioStorageCredentialResp struct {
CommResp
SecretAccessKey string `json:"secretAccessKey"`
AccessKeyID string `json:"accessKeyID"`
SessionToken string `json:"sessionToken"`
SignerType int `json:"signerType"`
BucketName string `json:"bucketName"`
StsEndpointURL string `json:"stsEndpointURL"`
StorageTime int `json:"storageTime"`
}
type ModifyConversationFieldReq ¶
type ModifyConversationFieldReq struct {
Conversation
FieldType int32 `json:"fieldType" binding:"required"`
UserIDList []string `json:"userIDList" binding:"required"`
OperationID string `json:"operationID" binding:"required"`
}
type ModifyConversationFieldResp ¶
type ModifyConversationFieldResp struct {
CommResp
}
type MuteGroupMemberReq ¶
type MuteGroupMemberResp ¶
type MuteGroupMemberResp struct {
CommResp
}
type MuteGroupReq ¶
type MuteGroupResp ¶
type MuteGroupResp struct {
CommResp
}
type OSSCredentialReq ¶
type OSSCredentialResp ¶
type OSSCredentialResp struct {
CommResp
OssData OSSCredentialRespData `json:"-"`
Data map[string]interface{} `json:"data"`
}
type OSSCredentialRespData ¶
type ParamsCommFriend ¶
type ParseTokenReq ¶
type ParseTokenReq struct {
OperationID string `json:"operationID" binding:"required"`
}
type ParseTokenResp ¶
type ParseTokenResp struct {
CommResp
ExpireTime ExpireTime `json:"expireTime"`
}
type PublicUser ¶
type QuitGroupReq ¶
type QuitGroupResp ¶
type QuitGroupResp struct {
CommResp
}
type ReactionMessageDeleteNotification ¶
type ReactionMessageDeleteNotification struct {
SourceID string `json:"sourceID" binding:"required"`
OpUserID string `json:"opUserID" binding:"required"`
SessionType int32 `json:"sessionType" binding:"required"`
// SuccessReactionExtensionList map[string]*sdkws.KeyValue `json:"reactionExtensionList,omitempty" binding:"required"`
ClientMsgID string `json:"clientMsgID" binding:"required"`
MsgFirstModifyTime int64 `json:"msgFirstModifyTime"`
}
type ReactionMessageModifierNotification ¶
type ReactionMessageModifierNotification struct {
Operation int `json:"operation" binding:"required"`
SourceID string `json:"sourceID" binding:"required"`
OpUserID string `json:"opUserID" binding:"required"`
SessionType int32 `json:"sessionType" binding:"required"`
// SuccessReactionExtensionList map[string]*sdkws.KeyValue `json:"reactionExtensionList,omitempty" binding:"required"`
ClientMsgID string `json:"clientMsgID" binding:"required"`
IsReact bool `json:"isReact"`
IsExternalExtensions bool `json:"isExternalExtensions"`
MsgFirstModifyTime int64 `json:"msgFirstModifyTime"`
Seq uint32 `json:"seq"`
}
type RemoveBlackListReq ¶
type RemoveBlackListReq struct {
ParamsCommFriend
}
type RemoveBlackListResp ¶
type RemoveBlackListResp struct {
CommResp
}
type SetAppBadgeReq ¶
type SetAppBadgeResp ¶
type SetAppBadgeResp struct {
CommResp
}
type SetConversationReq ¶
type SetConversationReq struct {
Conversation
NotificationType int `json:"notificationType"`
OperationID string `json:"operationID" binding:"required"`
}
type SetConversationResp ¶
type SetConversationResp struct {
}
type SetFriendRemarkReq ¶
type SetFriendRemarkReq struct {
ParamsCommFriend
Remark string `json:"remark" binding:"required"`
}
type SetFriendRemarkResp ¶
type SetFriendRemarkResp struct {
CommResp
}
type SetGlobalRecvMessageOptResp ¶
type SetGlobalRecvMessageOptResp struct {
CommResp
}
type SetGroupInfoReq ¶
type SetGroupInfoReq struct {
GroupID string `json:"groupID" binding:"required"`
GroupName string `json:"groupName"`
Notification string `json:"notification"`
Introduction string `json:"introduction"`
FaceURL string `json:"faceURL"`
Ex string `json:"ex"`
OperationID string `json:"operationID" binding:"required"`
NeedVerification *int32 `json:"needVerification" binding:"oneof=0 1 2"`
LookMemberInfo *int32 `json:"lookMemberInfo" binding:"oneof=0 1"`
ApplyMemberFriend *int32 `json:"applyMemberFriend" binding:"oneof=0 1"`
}
type SetGroupInfoResp ¶
type SetGroupInfoResp struct {
CommResp
}
type SetGroupMemberInfoReq ¶
type SetGroupMemberInfoReq struct {
OperationID string `json:"operationID" binding:"required"`
GroupID string `json:"groupID" binding:"required"`
UserID string `json:"userID" binding:"required"`
Nickname *string `json:"nickname"`
FaceURL *string `json:"userGroupFaceUrl"`
RoleLevel *int32 `json:"roleLevel" validate:"gte=1,lte=3"`
Ex *string `json:"ex"`
}
type SetGroupMemberNicknameResp ¶
type SetGroupMemberNicknameResp struct {
CommResp
}
type SetGroupMemberRoleLevelReq ¶
type SetGroupMemberRoleLevelReq struct {
SetGroupMemberBaseInfoReq
RoleLevel int `json:"roleLevel"`
}
type SetGroupMemberRoleLevelResp ¶
type SetGroupMemberRoleLevelResp struct {
CommResp
}
type SetMessageReactionExtensionsReq ¶
type SetMessageReactionExtensionsReq struct {
OperationID string `json:"operationID" validate:"required"`
ClientMsgID string `json:"clientMsgID" validate:"required"`
SourceID string `json:"sourceID" validate:"required"`
SessionType int32 `json:"sessionType" validate:"required"`
ReactionExtensionList map[string]*KeyValue `json:"reactionExtensionList"`
IsReact bool `json:"isReact,omitempty"`
IsExternalExtensions bool `json:"isExternalExtensions,omitempty"`
MsgFirstModifyTime int64 `json:"msgFirstModifyTime,omitempty"`
}
type SetMessageReactionExtensionsResp ¶
type SetMessageReactionExtensionsResp struct {
CommResp
ApiResult struct {
Result []*ExtensionResult `json:"result"`
MsgFirstModifyTime int64 `json:"msgFirstModifyTime"`
IsReact bool `json:"isReact"`
}
Data map[string]interface{} `json:"data"`
}
type SingleMessageExtensionResult ¶
type SingleMessageExtensionResult struct {
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
// ReactionExtensionList map[string]*sdkws.KeyValue `protobuf:"bytes,3,rep,name=reactionExtensionList" json:"reactionExtensionList,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
ClientMsgID string `protobuf:"bytes,4,opt,name=clientMsgID" json:"clientMsgID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
type TransferGroupOwnerReq ¶
type TransferGroupOwnerResp ¶
type TransferGroupOwnerResp struct {
CommResp
}
type UpdateSelfUserInfoReq ¶
type UpdateSelfUserInfoReq struct {
ApiUserInfo
OperationID string `json:"operationID" binding:"required"`
}
type UpdateUserInfoResp ¶
type UpdateUserInfoResp struct {
CommResp
}
type UserIDResult ¶
type UserRegisterReq ¶
type UserRegisterResp ¶
type UserRegisterResp struct {
CommResp
UserToken UserTokenInfo `json:"data"`
}
type UserTokenInfo ¶
type UserTokenReq ¶
type UserTokenResp ¶
type UserTokenResp struct {
CommResp
UserToken UserTokenInfo `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.