sdk_params_callback

package
v3.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const AcceptGroupApplicationCallback = constant.SuccessCallbackDefault

type AcceptGroupApplicationParam

View Source
const AddBlackCallback = constant.SuccessCallbackDefault

type AddBlackCallback struct{}

View Source
const AddFriendCallback = constant.SuccessCallbackDefault
View Source
const DeleteFriendCallback = constant.SuccessCallbackDefault

type DeleteFriendCallback struct{}

View Source
const DismissGroupCallback = constant.SuccessCallbackDefault
View Source
const GroupMemberMuteChangeCallback = constant.SuccessCallbackDefault
View Source
const GroupMuteChangeCallback = constant.SuccessCallbackDefault
View Source
const JoinGroupCallback = constant.SuccessCallbackDefault

param groupID reqMsg

View Source
const ProcessFriendApplicationCallback = constant.SuccessCallbackDefault
View Source
const QuitGroupCallback = constant.SuccessCallbackDefault

type QuitGroupParam // groupID

View Source
const RefuseGroupApplicationCallback = constant.SuccessCallbackDefault

type RefuseGroupApplicationParam

View Source
const RemoveBlackCallback = constant.SuccessCallbackDefault

type DeleteBlackCallback struct{}

View Source
const SetAppBadgeCallback = constant.SuccessCallbackDefault
View Source
const SetFriendRemarkCallback = constant.SuccessCallbackDefault

type SetFriendRemarkCallback struct{}

View Source
const SetGroupInfoCallback = constant.SuccessCallbackDefault
View Source
const SetGroupMemberInfoCallback = constant.SuccessCallbackDefault
View Source
const SetGroupMemberNicknameCallback = constant.SuccessCallbackDefault
View Source
const SetSelfUserInfoCallback = constant.SuccessCallbackDefault
View Source
const TransferGroupOwnerCallback = constant.SuccessCallbackDefault

type TransferGroupOwnerParam

View Source
const UpdateFcmTokenCallback = constant.SuccessCallbackDefault

Variables

This section is empty.

Functions

This section is empty.

Types

type AddBlackParams

type AddBlackParams string

1

type AddFriendParams

type AddFriendParams struct {
	ToUserID string `json:"toUserID" validate:"required"`
	ReqMsg   string `json:"reqMsg"`
}

1

type AddMessageReactionExtensionsCallback

type AddMessageReactionExtensionsCallback struct {
	Key     string `json:"key" validate:"required"`
	Value   string `json:"value" validate:"required"`
	ErrCode int32  `json:"errCode"`
	ErrMsg  string `json:"errMsg"`
}

type AddMessageReactionExtensionsParams

type AddMessageReactionExtensionsParams []*server_api_params.KeyValue

type BlackAddCallback

type BlackAddCallback model_struct.LocalBlack

type BlackDeletedCallback

type BlackDeletedCallback model_struct.LocalBlack

type CheckFriendCallback

type CheckFriendCallback []server_api_params.UserIDResult

type CheckFriendParams

type CheckFriendParams []string

1

type ConversationArgs

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

type ConversationDeleteCallback

type ConversationDeleteCallback model_struct.LocalConversation

type ConversationUpdateCallback

type ConversationUpdateCallback model_struct.LocalConversation

////////////////////////////user////////////////////////////////////////

type CreateGroupBaseInfoParam

type CreateGroupBaseInfoParam struct {
	GroupType int32 `json:"groupType"`
	SetGroupInfoParam
}

type CreateGroupCallback

type CreateGroupCallback map[string]interface{}

type CreateGroupMemberRoleParam

type CreateGroupMemberRoleParam []*server_api_params.GroupAddMemberInfo

type DeleteFriendParams

type DeleteFriendParams string

1

type DeleteMessageReactionExtensionsParams

type DeleteMessageReactionExtensionsParams []string

type FindMessageListCallback

type FindMessageListCallback struct {
	TotalCount      int                           `json:"totalCount"`
	FindResultItems []*SearchByConversationResult `json:"findResultItems"`
}

type FindMessageListParams

type FindMessageListParams []*ConversationArgs

type FriendAddedCallback

type FriendAddedCallback model_struct.LocalFriend

type FriendApplicationAcceptCallback

type FriendApplicationAcceptCallback model_struct.LocalFriendRequest

type FriendApplicationAddedCallback

type FriendApplicationAddedCallback model_struct.LocalFriendRequest

//////////////////////////////friend////////////////////////////////////

type FriendApplicationDeletedCallback

type FriendApplicationDeletedCallback model_struct.LocalFriendRequest

type FriendApplicationRejectCallback

type FriendApplicationRejectCallback model_struct.LocalFriendRequest

type FriendDeletedCallback

type FriendDeletedCallback model_struct.LocalFriend

type FriendInfoChangedCallback

type FriendInfoChangedCallback model_struct.LocalFriend

type GetAdvancedHistoryMessageListCallback

type GetAdvancedHistoryMessageListCallback struct {
	MessageList []*sdk_struct.MsgStruct `json:"messageList"`
	LastMinSeq  int64                   `json:"lastMinSeq"`
	IsEnd       bool                    `json:"isEnd"`
	ErrCode     int32                   `json:"errCode"`
	ErrMsg      string                  `json:"errMsg"`
}

type GetAdvancedHistoryMessageListParams

type GetAdvancedHistoryMessageListParams struct {
	LastMinSeq       int64  `json:"lastMinSeq"`
	ConversationID   string `json:"conversationID"`
	StartClientMsgID string `json:"startClientMsgID"`
	Count            int    `json:"count"`
}

type GetBlackListCallback

type GetBlackListCallback []server_api_params.FullUserInfo

1 type GetBlackListParams struct{}

type GetDesignatedFriendsInfoCallback

type GetDesignatedFriendsInfoCallback []server_api_params.FullUserInfo

type GetDesignatedFriendsInfoParams

type GetDesignatedFriendsInfoParams []string

1

type GetFriendListCallback

type GetFriendListCallback []server_api_params.FullUserInfo

1 type GetFriendListParams struct{}

type GetFriendListPage

type GetFriendListPage struct {
}

type GetGroupApplicationListCallback

type GetGroupApplicationListCallback []*model_struct.LocalAdminGroupRequest

type GetGroupApplicationListParam

type GetGroupMemberListCallback

type GetGroupMemberListCallback []*model_struct.LocalGroupMember

type GetGroupMemberListParam groupID ...

type GetGroupMembersInfoCallback

type GetGroupMembersInfoCallback []*model_struct.LocalGroupMember

type GetGroupMembersInfoParam

type GetGroupMembersInfoParam []string

type GetGroupsInfoCallback

type GetGroupsInfoCallback []*model_struct.LocalGroup

type GetGroupsInfoParam

type GetGroupsInfoParam []string

type GetHistoryMessageListCallback

type GetHistoryMessageListCallback []*sdk_struct.MsgStruct

type GetHistoryMessageListParams

type GetHistoryMessageListParams struct {
	UserID           string `json:"userID"`
	GroupID          string `json:"groupID"`
	ConversationID   string `json:"conversationID"`
	StartClientMsgID string `json:"startClientMsgID"`
	Count            int    `json:"count"`
}

type GetJoinedGroupListCallback

type GetJoinedGroupListCallback []*model_struct.LocalGroup

type GetJoinedGroupListParam null

type GetRecvFriendApplicationListCallback

type GetRecvFriendApplicationListCallback []*model_struct.LocalFriendRequest

1 type GetRecvFriendApplicationListParams struct{}

type GetSelfUserInfoCallback

type GetSelfUserInfoCallback *model_struct.LocalUser

type GetSelfUserInfoParam string

type GetSendFriendApplicationListCallback

type GetSendFriendApplicationListCallback []*model_struct.LocalFriendRequest

1 type GetSendFriendApplicationListParams struct{}

type GetSendGroupApplicationListCallback

type GetSendGroupApplicationListCallback []*model_struct.LocalGroupRequest

type GetTypekeyListResp

type GetTypekeyListResp struct {
	TypeKeyInfoList []*SingleTypeKeyInfoSum `json:"TypeKeyListInfo"`
}

type GetUsersInfoCallback

type GetUsersInfoCallback []server_api_params.FullUserInfo

type GetUsersInfoParam

type GetUsersInfoParam []string

other user

type GroupApplicationAcceptCallback

type GroupApplicationAcceptCallback model_struct.LocalAdminGroupRequest

type GroupApplicationAddedCallback

type GroupApplicationAddedCallback model_struct.LocalAdminGroupRequest

type GroupApplicationDeletedCallback

type GroupApplicationDeletedCallback model_struct.LocalAdminGroupRequest

type GroupApplicationRejectCallback

type GroupApplicationRejectCallback model_struct.LocalAdminGroupRequest

type GroupInfoChangedCallback

type GroupInfoChangedCallback model_struct.LocalGroup

type GroupMemberAddedCallback

type GroupMemberAddedCallback model_struct.LocalGroupMember

type GroupMemberDeletedCallback

type GroupMemberDeletedCallback model_struct.LocalGroupMember

type GroupMemberInfoChangedCallback

type GroupMemberInfoChangedCallback model_struct.LocalGroupMember

type Info

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

type InvitationInfo

type InvitationInfo struct {
	InviterUserID     string
	InviteeUserIDList []string
	CustomData        string
	GroupID           string
}

///////////////////////////signaling/////////////////////////////////////

type InviteUserToGroupCallback

type InviteUserToGroupCallback []*server_api_params.UserIDResult

type InviteUserToGroupParam

type InviteUserToGroupParam []string

type JoinedGroupAddedCallback

type JoinedGroupAddedCallback model_struct.LocalGroup

type JoinedGroupDeletedCallback

type JoinedGroupDeletedCallback model_struct.LocalGroup

type KickGroupMemberCallback

type KickGroupMemberCallback []*server_api_params.UserIDResult

type KickGroupMemberParam

type KickGroupMemberParam []string

type ProcessFriendApplicationParams

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

1

type RemoveBlackParams

type RemoveBlackParams string

1

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 SearchFriendsCallback

type SearchFriendsCallback []*SearchFriendItem

type SearchFriendsParam

type SearchFriendsParam struct {
	KeywordList      []string `json:"keywordList"`
	IsSearchUserID   bool     `json:"isSearchUserID"`
	IsSearchNickname bool     `json:"isSearchNickname"`
	IsSearchRemark   bool     `json:"isSearchRemark"`
}

type SearchGroupMembersCallback

type SearchGroupMembersCallback []*model_struct.LocalGroupMember

type SearchGroupMembersParam

type SearchGroupMembersParam struct {
	GroupID                string   `json:"groupID"`
	KeywordList            []string `json:"keywordList"`
	IsSearchUserID         bool     `json:"isSearchUserID"`
	IsSearchMemberNickname bool     `json:"isSearchMemberNickname"`
	//offset, count int
	Offset int `json:"offset"`
	Count  int `json:"count"`
}

type SearchGroupsCallback

type SearchGroupsCallback []*model_struct.LocalGroup

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 SelfInfoUpdatedCallback

type SelfInfoUpdatedCallback model_struct.LocalUser

////////////////////////////user////////////////////////////////////////

type SetConversationStatusParams

type SetConversationStatusParams struct {
	UserId string `json:"userID" validate:"required"`
	Status int    `json:"status" validate:"required"`
}

type SetFriendPinParams added in v3.5.0

type SetFriendPinParams struct {
	ToUserIDs []string              `json:"toUserID" 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"`
}

1

type SetGroupInfoParam

type SetGroupInfoParam struct {
	GroupName        string `json:"groupName"`
	Notification     string `json:"notification"`
	Introduction     string `json:"introduction"`
	FaceURL          string `json:"faceURL"`
	Ex               string `json:"ex"`
	NeedVerification *int32 `json:"needVerification" binding:"oneof=0 1 2"`
}

type SetGroupMemberInfoParam

type SetGroupMemberInfoParam struct {
	GroupID string  `json:"groupID"`
	UserID  string  `json:"userID"`
	Ex      *string `json:"ex"`
}

type SetMessageReactionExtensionsCallback

type SetMessageReactionExtensionsCallback struct {
	Key     string `json:"key" validate:"required"`
	Value   string `json:"value" validate:"required"`
	ErrCode int32  `json:"errCode"`
	ErrMsg  string `json:"errMsg"`
}

type SetMessageReactionExtensionsParams

type SetMessageReactionExtensionsParams []*server_api_params.KeyValue

type SetSelfUserInfoParam

type SetSelfUserInfoParam server_api_params.ApiUserInfo

type SingleTypeKeyInfo

type SingleTypeKeyInfo struct {
	TypeKey     string           `json:"typeKey"`
	Counter     int64            `json:"counter"`
	IsCanRepeat bool             `json:"isCanRepeat"`
	Index       int              `json:"index"`
	InfoList    map[string]*Info `json:"infoList"`
}

type SingleTypeKeyInfoSum

type SingleTypeKeyInfoSum struct {
	TypeKey       string  `json:"typeKey"`
	Counter       int64   `json:"counter"`
	InfoList      []*Info `json:"infoList"`
	IsContainSelf bool    `json:"isContainSelf"`
}

type UploadLogParams added in v3.4.0

type UploadLogParams struct {
	SystemType string `json:"system_type"`
	Ex         string `json:"ex"`
}

Jump to

Keyboard shortcuts

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