sdk_params_callback

package
v0.0.0-...-13b6049 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 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 ClearWorkMomentsMessageCallback = constant.SuccessCallbackDefault
View Source
const DeleteAllConversationFromLocalCallback = constant.SuccessCallbackDefault
View Source
const DeleteConversationCallback = 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 HideConversationCallback = constant.SuccessCallbackDefault
View Source
const JoinGroupCallback = constant.SuccessCallbackDefault

param groupID reqMsg

View Source
const MarkC2CMessageAsReadCallback = constant.SuccessCallbackDefault
View Source
const MarkGroupMessageAsReadCallback = constant.SuccessCallbackDefault
View Source
const MarkGroupMessageHasReadCallback = constant.SuccessCallbackDefault
View Source
const MarkMessageAsReadByConIDCallback = constant.SuccessCallbackDefault
View Source
const PinConversationDraftCallback = constant.SuccessCallbackDefault
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 ResetConversationGroupAtTypeCallback = constant.SuccessCallbackDefault
View Source
const RevokeMessageCallback = constant.SuccessCallbackDefault
View Source
const SetAppBadgeCallback = constant.SuccessCallbackDefault
View Source
const SetConversationBurnDurationOptCallback = constant.SuccessCallbackDefault
View Source
const SetConversationDraftCallback = constant.SuccessCallbackDefault
View Source
const SetConversationMessageOptCallback = constant.SuccessCallbackDefault
View Source
const SetConversationPrivateChatOptCallback = constant.SuccessCallbackDefault
View Source
const SetConversationRecvMessageOptCallback = constant.SuccessCallbackDefault
View Source
const SetFriendRemarkCallback = constant.SuccessCallbackDefault

type SetFriendRemarkCallback struct{}

View Source
const SetGlobalRecvMessageOptCallback = constant.SuccessCallbackDefault
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 TypingStatusUpdateCallback = constant.SuccessCallbackDefault
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 Comment

type Comment struct {
	UserID        string `json:"userID"`
	UserName      string `json:"userName"`
	FaceURL       string `json:"faceURL"`
	ReplyUserID   string `json:"replyUserID"`
	ReplyUserName string `json:"replyUserName"`
	ContentID     string `json:"contentID"`
	Content       string `json:"content"`
	CreateTime    int32  `json:"createTime"`
}

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  uint32                  `json:"lastMinSeq"`
	IsEnd       bool                    `json:"isEnd"`
	ErrCode     int32                   `json:"errCode"`
	ErrMsg      string                  `json:"errMsg"`
}

type GetAdvancedHistoryMessageListParams

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

type GetAllConversationListCallback

type GetAllConversationListCallback []*model_struct.LocalConversation

type GetAllConversationListParam null

type GetBlackListCallback

type GetBlackListCallback []server_api_params.FullUserInfo

1 type GetBlackListParams struct{}

type GetConversationListSplitCallback

type GetConversationListSplitCallback []*model_struct.LocalConversation

type GetAllConversationListParam offset count

type GetConversationRecvMessageOptParams

type GetConversationRecvMessageOptParams []string

type GetDepartmentInfoCallback

type GetDepartmentInfoCallback *model_struct.LocalDepartment

type GetDepartmentMemberAndSubDepartmentCallback

type GetDepartmentMemberAndSubDepartmentCallback struct {
	DepartmentList       []*model_struct.LocalDepartment       `json:"departmentList"`
	DepartmentMemberList []*model_struct.LocalDepartmentMember `json:"departmentMemberList"`
	ParentDepartmentList []ParentDepartmentCallback            `json:"parentDepartmentList"`
}

type GetDepartmentMemberCallback

type GetDepartmentMemberCallback []*model_struct.LocalDepartmentMember

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 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 GetMultipleConversationCallback

type GetMultipleConversationCallback []*model_struct.LocalConversation

type GetMultipleConversationParams

type GetMultipleConversationParams []string

type GetParentDepartmentListCallback

type GetParentDepartmentListCallback []*model_struct.LocalDepartment

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 GetSubDepartmentCallback

type GetSubDepartmentCallback []*model_struct.LocalDepartment

type GetTypekeyListResp

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

type GetUserInDepartmentCallback

type GetUserInDepartmentCallback []*UserInDepartment

type GetUsersInfoCallback

type GetUsersInfoCallback []server_api_params.FullUserInfo

type GetUsersInfoParam

type GetUsersInfoParam []string

other user

type GetWorkMomentsNotificationCallback

type GetWorkMomentsNotificationCallback []WorkMomentNotificationMsg

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 InvitationCancelledCallback

type InvitationCancelledCallback api.SignalCancelReq

type InvitationInfo

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

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

type InvitationTimeoutCallback

type InvitationTimeoutCallback api.SignalInviteReq

type InviteUserToGroupCallback

type InviteUserToGroupCallback []*server_api_params.UserIDResult

type InviteUserToGroupParam

type InviteUserToGroupParam []string

type InviteeAcceptedCallback

type InviteeAcceptedCallback api.SignalAcceptReq

type InviteeRejectedCallback

type InviteeRejectedCallback api.SignalRejectReq

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 MarkC2CMessageAsReadParams

type MarkC2CMessageAsReadParams []string

type MarkGroupMessageAsReadParams

type MarkGroupMessageAsReadParams []string

type MarkMessageAsReadByConIDParams

type MarkMessageAsReadByConIDParams []string

type ParentDepartmentCallback

type ParentDepartmentCallback struct {
	Name         string `json:"name"`
	DepartmentID string `json:"departmentID"`
}

type ProcessFriendApplicationParams

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

1

type ReceiveNewInvitationCallback

type ReceiveNewInvitationCallback api.SignalInviteReq

type RemoveBlackParams

type RemoveBlackParams string

1

type RevokeMessageParams

type RevokeMessageParams sdk_struct.MsgStruct

type SearchByConversationResult

type SearchByConversationResult struct {
	ConversationID   string                  `json:"conversationID"`
	ConversationType int32                   `json:"conversationType"`
	ShowName         string                  `json:"showName"`
	FaceURL          string                  `json:"faceURL"`
	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 SearchOrganizationCallback

type SearchOrganizationCallback struct {
	DepartmentList       []*model_struct.LocalDepartment `json:"departmentList"`
	DepartmentMemberList []*struct {
		*model_struct.SearchDepartmentMemberResult
		ParentDepartmentList []*ParentDepartmentCallback `json:"parentDepartmentList"`
	} `json:"departmentMemberList"`
}

type SearchOrganizationParams

type SearchOrganizationParams struct {
	KeyWord                 string `json:"keyWord"`
	IsSearchUserName        bool   `json:"isSearchUserName"`
	IsSearchUserEnglishName bool   `json:"isSearchEnglishName"`
	IsSearchPosition        bool   `json:"isSearchPosition"`
	IsSearchUserID          bool   `json:"isSearchUserID"`
	IsSearchMobile          bool   `json:"isSearchMobile"`
	IsSearchEmail           bool   `json:"isSearchEmail"`
	IsSearchTelephone       bool   `json:"isSearchTelephone"`
}

type SelfInfoUpdatedCallback

type SelfInfoUpdatedCallback model_struct.LocalUser

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

type SetConversationRecvMessageOptParams

type SetConversationRecvMessageOptParams []string

type SetConversationStatusParams

type SetConversationStatusParams struct {
	UserId string `json:"userID" validate:"required"`
	Status int    `json:"status" 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 UserInDepartment

type UserInDepartment struct {
	DepartmentInfo *model_struct.LocalDepartment       `json:"department"`
	MemberInfo     *model_struct.LocalDepartmentMember `json:"member"`
}

type WorkMomentNotificationMsg

type WorkMomentNotificationMsg struct {
	NotificationMsgType int32  `json:"notificationMsgType"`
	ReplyUserName       string `json:"replyUserName"`
	ReplyUserID         string `json:"replyUserID"`
	Content             string `json:"content"`
	ContentID           string `json:"contentID"`
	WorkMomentID        string `json:"workMomentID"`
	UserID              string `json:"userID"`
	UserName            string `json:"userName"`
	FaceURL             string `json:"faceURL"`
	WorkMomentContent   string `json:"workMomentContent"`
	CreateTime          int32  `json:"createTime"`
}

type WorkMomentsNotificationCallback

type WorkMomentsNotificationCallback string

Jump to

Keyboard shortcuts

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