Documentation ¶
Index ¶
- type AddUserRegisterAddFriendIDListRequest
- type AddUserRegisterAddFriendIDListResponse
- type AddUserRequest
- type AddUserResponse
- type AdminLoginRequest
- type AdminLoginResponse
- type BlockUser
- type BlockUserRequest
- type BlockUserResponse
- type ChatLog
- type FriendInfo
- type GetActiveGroupRequest
- type GetActiveGroupResponse
- type GetActiveUserRequest
- type GetActiveUserResponse
- type GetBlockUsersRequest
- type GetBlockUsersResponse
- type GetChatLogsReq
- type GetChatLogsResp
- type GetFriendsReq
- type GetFriendsResp
- type GetGroupMembersRequest
- type GetGroupMembersResponse
- type GetGroupStatisticsRequest
- type GetGroupStatisticsResponse
- type GetGroupsRequest
- type GetGroupsResponse
- type GetMessageStatisticsRequest
- type GetMessageStatisticsResponse
- type GetStatisticsRequest
- type GetUserIDByEmailAndPhoneNumberRequest
- type GetUserIDByEmailAndPhoneNumberResponse
- type GetUserRegisterAddFriendIDListRequest
- type GetUserRegisterAddFriendIDListResponse
- type GetUserStatisticsRequest
- type GetUserStatisticsResponse
- type GetUserTokenRequest
- type GetUserTokenResponse
- type GroupMemberResponse
- type GroupResponse
- type ReduceUserRegisterAddFriendIDListRequest
- type ReduceUserRegisterAddFriendIDListResponse
- type RequestPagination
- type ResponsePagination
- type UnBlockUserResponse
- type UnblockUserRequest
- type UserResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddUserRegisterAddFriendIDListResponse ¶
type AddUserRegisterAddFriendIDListResponse struct { }
type AddUserRequest ¶
type AddUserRequest struct { OperationID string `json:"operationID" binding:"required"` PhoneNumber string `json:"phoneNumber" binding:"required"` UserId string `json:"userID" binding:"required"` Name string `json:"name" binding:"required"` Email string `json:"email"` Birth string `json:"birth"` Gender string `json:"gender"` FaceURL string `json:"faceURL"` }
type AddUserResponse ¶
type AddUserResponse struct { }
type AdminLoginRequest ¶
type AdminLoginResponse ¶
type BlockUser ¶
type BlockUser struct { UserResponse BeginDisableTime string `json:"beginDisableTime"` EndDisableTime string `json:"endDisableTime"` }
type BlockUserRequest ¶
type BlockUserResponse ¶
type BlockUserResponse struct { }
type ChatLog ¶
type ChatLog struct { SendID string `json:"sendID,omitempty"` RecvID string `json:"recvID,omitempty"` GroupID string `json:"groupID,omitempty"` ClientMsgID string `json:"clientMsgID,omitempty"` ServerMsgID string `json:"serverMsgID,omitempty"` SenderPlatformID int32 `json:"senderPlatformID,omitempty"` SenderNickname string `json:"senderNickname,omitempty"` SenderFaceURL string `json:"senderFaceURL,omitempty"` SessionType int32 `json:"sessionType,omitempty"` MsgFrom int32 `json:"msgFrom,omitempty"` ContentType int32 `json:"contentType,omitempty"` Content string `json:"content,omitempty"` Seq uint32 `json:"seq,omitempty"` SendTime int64 `json:"sendTime,omitempty"` CreateTime int64 `json:"createTime,omitempty"` Status int32 `json:"status,omitempty"` Options map[string]bool `json:"options,omitempty"` OfflinePushInfo *pbCommon.OfflinePushInfo `json:"offlinePushInfo,omitempty"` AtUserIDList []string `json:"atUserIDList,omitempty"` MsgDataList []byte `json:"msgDataList,omitempty"` AttachedInfo string `json:"attachedInfo,omitempty"` Ex string `json:"ex,omitempty"` }
type FriendInfo ¶
type GetActiveGroupRequest ¶
type GetActiveGroupRequest struct {
GetStatisticsRequest
}
type GetActiveGroupResponse ¶
type GetActiveUserRequest ¶
type GetActiveUserRequest struct {
GetStatisticsRequest
}
type GetActiveUserResponse ¶
type GetBlockUsersRequest ¶
type GetBlockUsersRequest struct { OperationID string `json:"operationID" binding:"required"` RequestPagination }
type GetBlockUsersResponse ¶
type GetBlockUsersResponse struct { BlockUsers []BlockUser `json:"blockUsers"` ResponsePagination UserNums int32 `json:"userNums"` }
type GetChatLogsReq ¶
type GetChatLogsReq struct { SessionType int `json:"sessionType"` ContentType int `json:"contentType"` Content string `json:"content"` SendID string `json:"sendID"` RecvID string `json:"recvID"` GroupID string `json:"groupID"` SendTime string `json:"sendTime"` RequestPagination OperationID string `json:"operationID"` }
type GetChatLogsResp ¶
type GetChatLogsResp struct { ChatLogs []*ChatLog `json:"chatLogs"` ChatLogsNum int `json:"logNums"` ResponsePagination }
type GetFriendsReq ¶
type GetFriendsReq struct { OperationID string `json:"operationID"` UserID string `json:"userID"` FriendUserName string `json:"friendUserName"` FriendUserID string `json:"friendUserID"` RequestPagination }
type GetFriendsResp ¶
type GetFriendsResp struct { ResponsePagination FriendInfoList []*FriendInfo `json:"friendInfoList"` FriendNums int32 `json:"friendNums"` }
type GetGroupMembersRequest ¶
type GetGroupMembersRequest struct { GroupID string `form:"groupID" binding:"required"` UserName string `form:"userName"` OperationID string `json:"operationID" binding:"required"` RequestPagination }
type GetGroupMembersResponse ¶
type GetGroupMembersResponse struct { GroupMembers []GroupMemberResponse `json:"groupMembers"` ResponsePagination MemberNums int `json:"memberNums"` }
type GetGroupStatisticsRequest ¶
type GetGroupStatisticsRequest struct {
GetStatisticsRequest
}
type GetGroupStatisticsResponse ¶
type GetGroupStatisticsResponse struct { IncreaseGroupNum int `json:"increaseGroupNum"` TotalGroupNum int `json:"totalGroupNum"` IncreaseGroupNumList []struct { Date string `json:"date"` IncreaseGroupNum int `json:"increaseGroupNum"` } `json:"increaseGroupNumList"` TotalGroupNumList []struct { Date string `json:"date"` TotalGroupNum int `json:"totalGroupNum"` } `json:"totalGroupNumList"` }
群聊统计
type GetGroupsRequest ¶
type GetGroupsRequest struct { RequestPagination OperationID string `json:"operationID" binding:"required"` GroupID string `json:"groupID"` GroupName string `json:"groupName"` }
type GetGroupsResponse ¶
type GetGroupsResponse struct { Groups []GroupResponse `json:"groups"` GroupNums int `json:"groupNums"` ResponsePagination }
type GetMessageStatisticsRequest ¶
type GetMessageStatisticsRequest struct {
GetStatisticsRequest
}
type GetMessageStatisticsResponse ¶
type GetMessageStatisticsResponse struct { PrivateMessageNum int `json:"privateMessageNum"` GroupMessageNum int `json:"groupMessageNum"` PrivateMessageNumList []struct { Date string `json:"date"` MessageNum int `json:"messageNum"` } `json:"privateMessageNumList"` GroupMessageNumList []struct { Date string `json:"date"` MessageNum int `json:"messageNum"` } `json:"groupMessageNumList"` }
type GetStatisticsRequest ¶
type GetUserIDByEmailAndPhoneNumberResponse ¶
type GetUserIDByEmailAndPhoneNumberResponse struct {
UserIDList []string `json:"userIDList"`
}
type GetUserRegisterAddFriendIDListRequest ¶
type GetUserRegisterAddFriendIDListRequest struct { OperationID string `json:"operationID" binding:"required"` base_info.RequestPagination }
type GetUserRegisterAddFriendIDListResponse ¶
type GetUserRegisterAddFriendIDListResponse struct { Users []*server_api_params.UserInfo `json:"users"` base_info.ResponsePagination }
type GetUserStatisticsRequest ¶
type GetUserStatisticsRequest struct {
GetStatisticsRequest
}
type GetUserStatisticsResponse ¶
type GetUserStatisticsResponse struct { IncreaseUserNum int `json:"increaseUserNum"` ActiveUserNum int `json:"activeUserNum"` TotalUserNum int `json:"totalUserNum"` IncreaseUserNumList []struct { Date string `json:"date"` IncreaseUserNum int `json:"increaseUserNum"` } `json:"increaseUserNumList"` ActiveUserNumList []struct { Date string `json:"date"` ActiveUserNum int `json:"activeUserNum"` } `json:"activeUserNumList"` TotalUserNumList []struct { Date string `json:"date"` TotalUserNum int `json:"totalUserNum"` } `json:"totalUserNumList"` }
type GetUserTokenRequest ¶
type GetUserTokenResponse ¶
type GroupMemberResponse ¶
type GroupMemberResponse struct { GroupID string `json:"groupID"` UserID string `json:"userID"` RoleLevel int32 `json:"roleLevel"` JoinTime int32 `json:"joinTime"` Nickname string `json:"nickname"` FaceURL string `json:"faceURL"` AppMangerLevel int32 `json:"appMangerLevel"` //if >0 JoinSource int32 `json:"joinSource"` OperatorUserID string `json:"operatorUserID"` Ex string `json:"ex"` MuteEndTime uint32 `json:"muteEndTime"` InviterUserID string `json:"inviterUserID"` }
type GroupResponse ¶
type GroupResponse struct { GroupOwnerName string `json:"GroupOwnerName"` GroupOwnerID string `json:"GroupOwnerID"` GroupID string `json:"groupID"` GroupName string `json:"groupName"` Notification string `json:"notification"` Introduction string `json:"introduction"` FaceURL string `json:"faceURL"` OwnerUserID string `json:"ownerUserID"` CreateTime uint32 `json:"createTime"` MemberCount uint32 `json:"memberCount"` 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"` NotificationUpdateTime uint32 `json:"notificationUpdateTime"` NotificationUserID string `json:"notificationUserID"` }
type ReduceUserRegisterAddFriendIDListResponse ¶
type ReduceUserRegisterAddFriendIDListResponse struct { }
type RequestPagination ¶
type ResponsePagination ¶
type UnBlockUserResponse ¶
type UnBlockUserResponse struct { }
type UnblockUserRequest ¶
type UserResponse ¶
type UserResponse struct { FaceURL string `json:"faceURL"` Nickname string `json:"nickName"` UserID string `json:"userID"` CreateTime string `json:"createTime,omitempty"` CreateIp string `json:"createIp,omitempty"` LastLoginTime string `json:"lastLoginTime,omitempty"` LastLoginIp string `json:"lastLoginIP,omitempty"` LoginTimes int32 `json:"loginTimes"` LoginLimit int32 `json:"loginLimit"` IsBlock bool `json:"isBlock"` PhoneNumber string `json:"phoneNumber"` Email string `json:"email"` Birth string `json:"birth"` Gender int `json:"gender"` }
Click to show internal directories.
Click to hide internal directories.