sdk_params_callback

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: AGPL-3.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 ConversationArgs

type ConversationArgs struct {
	ConversationID  string   `json:"conversationID"`
	ClientMsgIDList []string `json:"clientMsgIDList"`
}

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 GetAdvancedHistoryMessageListParams

type GetAdvancedHistoryMessageListParams struct {
	ConversationID   string `json:"conversationID"`
	StartClientMsgID string `json:"startClientMsgID"`
	Count            int    `json:"count"`
	ViewType         int    `json:"viewType"`
}

type GetFriendApplicationListAsApplicantReq

type GetFriendApplicationListAsApplicantReq struct {
	Offset int32 `json:"offset"`
	Count  int32 `json:"count"`
}

type GetFriendApplicationListAsRecipientReq

type GetFriendApplicationListAsRecipientReq struct {
	HandleResults []int32 `json:"handleResults"`
	Offset        int32   `json:"offset"`
	Count         int32   `json:"count"`
}

type GetGroupApplicationListAsApplicantReq

type GetGroupApplicationListAsApplicantReq struct {
	GroupIDs      []string `json:"groupIDs"`
	HandleResults []int32  `json:"handleResults"`
	Offset        int32    `json:"offset"`
	Count         int32    `json:"count"`
}

type GetGroupApplicationListAsRecipientReq

type GetGroupApplicationListAsRecipientReq struct {
	GroupIDs      []string `json:"groupIDs"`
	HandleResults []int32  `json:"handleResults"`
	Offset        int32    `json:"offset"`
	Count         int32    `json:"count"`
}

type GetGroupApplicationUnhandledCountReq

type GetGroupApplicationUnhandledCountReq struct {
	Time int64 `json:"time"`
}

type GetSelfUnhandledApplyCountReq

type GetSelfUnhandledApplyCountReq struct {
	Time int64 `json:"time"`
}

type ProcessFriendApplicationParams

type ProcessFriendApplicationParams struct {
	ToUserID  string `json:"toUserID" validate:"required"`
	HandleMsg string `json:"handleMsg"`
}

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 SearchFriendsParam struct {
	KeywordList      []string `json:"keywordList"`
	IsSearchUserID   bool     `json:"isSearchUserID"`
	IsSearchNickname bool     `json:"isSearchNickname"`
	IsSearchRemark   bool     `json:"isSearchRemark"`
}

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 SearchGroupsParam struct {
	KeywordList       []string `json:"keywordList"`
	IsSearchGroupID   bool     `json:"isSearchGroupID"`
	IsSearchGroupName bool     `json:"isSearchGroupName"`
}

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

type SetFriendRemarkParams struct {
	ToUserID string `json:"toUserID" validate:"required"`
	Remark   string `json:"remark" validate:"required"`
}

Jump to

Keyboard shortcuts

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