Documentation
¶
Index ¶
- type ConversationArgs
- type FetchSurroundingMessagesReq
- type FetchSurroundingMessagesResp
- type FindMessageListCallback
- type GetAdvancedHistoryMessageListCallback
- type GetAdvancedHistoryMessageListParams
- type GetFriendApplicationListAsApplicantReq
- type GetFriendApplicationListAsRecipientReq
- type GetGroupApplicationListAsApplicantReq
- type GetGroupApplicationListAsRecipientReq
- type GetGroupApplicationUnhandledCountReq
- type GetSelfUnhandledApplyCountReq
- type ProcessFriendApplicationParams
- type SearchByConversationResult
- type SearchFriendItem
- type SearchFriendsParam
- type SearchGroupMembersParam
- type SearchGroupsParam
- type SearchLocalMessagesCallback
- type SearchLocalMessagesParams
- type SetFriendPinParams
- type SetFriendRemarkParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConversationArgs ¶
type FetchSurroundingMessagesReq ¶
type FetchSurroundingMessagesReq struct {
StartMessage *sdk_struct.MsgStruct `json:"startMessage"`
ViewType int `json:"viewType"`
Before int `json:"before"`
After int `json:"after"`
}
type FetchSurroundingMessagesResp ¶
type FetchSurroundingMessagesResp struct {
MessageList []*sdk_struct.MsgStruct `json:"messageList"`
}
type FindMessageListCallback ¶
type FindMessageListCallback struct {
TotalCount int `json:"totalCount"`
FindResultItems []*SearchByConversationResult `json:"findResultItems"`
}
type GetAdvancedHistoryMessageListCallback ¶
type GetAdvancedHistoryMessageListCallback struct {
MessageList []*sdk_struct.MsgStruct `json:"messageList"`
IsEnd bool `json:"isEnd"`
ErrCode int32 `json:"errCode"`
ErrMsg string `json:"errMsg"`
}
type GetGroupApplicationUnhandledCountReq ¶
type GetGroupApplicationUnhandledCountReq struct {
Time int64 `json:"time"`
}
type GetSelfUnhandledApplyCountReq ¶
type GetSelfUnhandledApplyCountReq struct {
Time int64 `json:"time"`
}
type SearchByConversationResult ¶
type SearchByConversationResult struct {
ConversationID string `json:"conversationID"`
ConversationType int32 `json:"conversationType"`
ShowName string `json:"showName"`
FaceURL string `json:"faceURL"`
LatestMsgSendTime int64 `json:"latestMsgSendTime,omitempty"`
MessageCount int `json:"messageCount"`
MessageList []*sdk_struct.MsgStruct `json:"messageList"`
}
type SearchFriendItem ¶
type SearchFriendItem struct {
model_struct.LocalFriend
Relationship int `json:"relationship"`
}
type SearchFriendsParam ¶
type SearchGroupMembersParam ¶
type SearchGroupMembersParam struct {
GroupID string `json:"groupID"`
KeywordList []string `json:"keywordList"`
IsSearchUserID bool `json:"isSearchUserID"`
IsSearchMemberNickname bool `json:"isSearchMemberNickname"`
Offset int `json:"offset"`
Count int `json:"count"`
PageNumber int `json:"pageNumber"`
}
type SearchGroupsParam ¶
type SearchLocalMessagesCallback ¶
type SearchLocalMessagesCallback struct {
TotalCount int `json:"totalCount"`
SearchResultItems []*SearchByConversationResult `json:"searchResultItems"`
}
type SearchLocalMessagesParams ¶
type SearchLocalMessagesParams struct {
ConversationID string `json:"conversationID"`
KeywordList []string `json:"keywordList"`
KeywordListMatchType int `json:"keywordListMatchType"`
SenderUserIDList []string `json:"senderUserIDList"`
MessageTypeList []int `json:"messageTypeList"`
SearchTimePosition int64 `json:"searchTimePosition"`
SearchTimePeriod int64 `json:"searchTimePeriod"`
PageIndex int `json:"pageIndex"`
Count int `json:"count"`
}
type SetFriendPinParams ¶
type SetFriendPinParams struct {
ToUserIDs []string `json:"toUserIDs" validate:"required"`
IsPinned *wrapperspb.BoolValue `json:"isPinned" validate:"required"`
}
type SetFriendRemarkParams ¶
Click to show internal directories.
Click to hide internal directories.