Documentation ¶
Index ¶
- Constants
- type AddBlackParams
- type AddFriendParams
- type AddMessageReactionExtensionsCallback
- type AddMessageReactionExtensionsParams
- type BlackAddCallback
- type BlackDeletedCallback
- type CheckFriendCallback
- type CheckFriendParams
- type ConversationArgs
- type ConversationDeleteCallback
- type ConversationUpdateCallback
- type CreateGroupBaseInfoParam
- type CreateGroupCallback
- type CreateGroupMemberRoleParam
- type DeleteFriendParams
- type DeleteMessageReactionExtensionsParams
- type FindMessageListCallback
- type FindMessageListParams
- type FriendAddedCallback
- type FriendApplicationAcceptCallback
- type FriendApplicationAddedCallback
- type FriendApplicationDeletedCallback
- type FriendApplicationRejectCallback
- type FriendDeletedCallback
- type FriendInfoChangedCallback
- type GetAdvancedHistoryMessageListCallback
- type GetAdvancedHistoryMessageListParams
- type GetBlackListCallback
- type GetDesignatedFriendsInfoCallback
- type GetDesignatedFriendsInfoParams
- type GetFriendListCallback
- type GetFriendListPage
- type GetGroupApplicationListCallback
- type GetGroupMemberListCallback
- type GetGroupMembersInfoCallback
- type GetGroupMembersInfoParam
- type GetGroupsInfoCallback
- type GetGroupsInfoParam
- type GetHistoryMessageListCallback
- type GetHistoryMessageListParams
- type GetJoinedGroupListCallback
- type GetRecvFriendApplicationListCallback
- type GetSelfUserInfoCallback
- type GetSendFriendApplicationListCallback
- type GetSendGroupApplicationListCallback
- type GetTypekeyListResp
- type GetUsersInfoCallback
- type GetUsersInfoParam
- type GroupApplicationAcceptCallback
- type GroupApplicationAddedCallback
- type GroupApplicationDeletedCallback
- type GroupApplicationRejectCallback
- type GroupInfoChangedCallback
- type GroupMemberAddedCallback
- type GroupMemberDeletedCallback
- type GroupMemberInfoChangedCallback
- type Info
- type InvitationInfo
- type InviteUserToGroupCallback
- type InviteUserToGroupParam
- type JoinedGroupAddedCallback
- type JoinedGroupDeletedCallback
- type KickGroupMemberCallback
- type KickGroupMemberParam
- type ProcessFriendApplicationParams
- type RemoveBlackParams
- type SearchByConversationResult
- type SearchFriendItem
- type SearchFriendsCallback
- type SearchFriendsParam
- type SearchGroupMembersCallback
- type SearchGroupMembersParam
- type SearchGroupsCallback
- type SearchGroupsParam
- type SearchLocalMessagesCallback
- type SearchLocalMessagesParams
- type SelfInfoUpdatedCallback
- type SetConversationStatusParams
- type SetFriendPinParams
- type SetFriendRemarkParams
- type SetGroupInfoParam
- type SetGroupMemberInfoParam
- type SetMessageReactionExtensionsCallback
- type SetMessageReactionExtensionsParams
- type SetSelfUserInfoParam
- type SingleTypeKeyInfo
- type SingleTypeKeyInfoSum
- type UploadLogParams
Constants ¶
const AcceptGroupApplicationCallback = constant.SuccessCallbackDefault
type AcceptGroupApplicationParam
const AddBlackCallback = constant.SuccessCallbackDefault
type AddBlackCallback struct{}
const AddFriendCallback = constant.SuccessCallbackDefault
const DeleteFriendCallback = constant.SuccessCallbackDefault
type DeleteFriendCallback struct{}
const DismissGroupCallback = constant.SuccessCallbackDefault
const GroupMemberMuteChangeCallback = constant.SuccessCallbackDefault
const GroupMuteChangeCallback = constant.SuccessCallbackDefault
const JoinGroupCallback = constant.SuccessCallbackDefault
param groupID reqMsg
const ProcessFriendApplicationCallback = constant.SuccessCallbackDefault
const QuitGroupCallback = constant.SuccessCallbackDefault
type QuitGroupParam // groupID
const RefuseGroupApplicationCallback = constant.SuccessCallbackDefault
type RefuseGroupApplicationParam
const RemoveBlackCallback = constant.SuccessCallbackDefault
type DeleteBlackCallback struct{}
const SetAppBadgeCallback = constant.SuccessCallbackDefault
const SetFriendRemarkCallback = constant.SuccessCallbackDefault
type SetFriendRemarkCallback struct{}
const SetGroupInfoCallback = constant.SuccessCallbackDefault
const SetGroupMemberInfoCallback = constant.SuccessCallbackDefault
const SetGroupMemberNicknameCallback = constant.SuccessCallbackDefault
const SetSelfUserInfoCallback = constant.SuccessCallbackDefault
const TransferGroupOwnerCallback = constant.SuccessCallbackDefault
type TransferGroupOwnerParam
const UpdateFcmTokenCallback = constant.SuccessCallbackDefault
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddFriendParams ¶
type AddFriendParams struct { ToUserID string `json:"toUserID" validate:"required"` ReqMsg string `json:"reqMsg"` }
1
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 ConversationArgs ¶
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 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 GetBlackListCallback ¶
type GetBlackListCallback []server_api_params.FullUserInfo
1 type GetBlackListParams struct{}
type GetDesignatedFriendsInfoCallback ¶
type GetDesignatedFriendsInfoCallback []server_api_params.FullUserInfo
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 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 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 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 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 SearchGroupMembersCallback ¶
type SearchGroupMembersCallback []*model_struct.LocalGroupMember
type SearchGroupMembersParam ¶
type SearchGroupsCallback ¶
type SearchGroupsCallback []*model_struct.LocalGroup
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 SelfInfoUpdatedCallback ¶
type SelfInfoUpdatedCallback model_struct.LocalUser
////////////////////////////user////////////////////////////////////////
type SetFriendPinParams ¶
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 SetGroupMemberInfoParam ¶
type SetMessageReactionExtensionsParams ¶
type SetMessageReactionExtensionsParams []*server_api_params.KeyValue
type SetSelfUserInfoParam ¶
type SetSelfUserInfoParam server_api_params.ApiUserInfo