Documentation ¶
Index ¶
- func ServerGroupMemberToLocalGroupMember(info *sdkws.GroupMemberFullInfo) *model_struct.LocalGroupMember
- func ServerGroupRequestToLocalAdminGroupRequest(info *sdkws.GroupRequest) *model_struct.LocalAdminGroupRequest
- func ServerGroupRequestToLocalGroupRequest(info *sdkws.GroupRequest) *model_struct.LocalGroupRequest
- func ServerGroupToLocalGroup(info *sdkws.GroupInfo) *model_struct.LocalGroup
- type Group
- func (g *Group) AcceptGroupApplication(ctx context.Context, groupID, fromUserID, handleMsg string) error
- func (g *Group) ChangeGroupMemberMute(ctx context.Context, groupID, userID string, mutedSeconds int) (err error)
- func (g *Group) ChangeGroupMute(ctx context.Context, groupID string, isMute bool) (err error)
- func (g *Group) CreateGroup(ctx context.Context, req *group.CreateGroupReq) (*sdkws.GroupInfo, error)
- func (g *Group) DismissGroup(ctx context.Context, groupID string) error
- func (g *Group) DoNotification(ctx context.Context, msg *sdkws.MsgData)
- func (g *Group) GetDesignatedGroupMembers(ctx context.Context, groupID string, userID []string) ([]*sdkws.GroupMemberFullInfo, error)
- func (g *Group) GetGroupAbstractInfo(ctx context.Context, groupID string) (*group.GroupAbstractInfo, error)
- func (g *Group) GetGroupApplicationListAsApplicant(ctx context.Context) ([]*model_struct.LocalGroupRequest, error)
- func (g *Group) GetGroupApplicationListAsRecipient(ctx context.Context) ([]*model_struct.LocalAdminGroupRequest, error)
- func (g *Group) GetGroupInfoFromLocal2Svr(ctx context.Context, groupID string) (*model_struct.LocalGroup, error)
- func (g *Group) GetGroupMemberList(ctx context.Context, groupID string, filter, offset, count int32) ([]*model_struct.LocalGroupMember, error)
- func (g *Group) GetGroupMemberListByJoinTimeFilter(ctx context.Context, groupID string, offset, count int32, ...) ([]*model_struct.LocalGroupMember, error)
- func (g *Group) GetGroupMemberOwnerAndAdmin(ctx context.Context, groupID string) ([]*model_struct.LocalGroupMember, error)
- func (g *Group) GetGroupOwnerIDAndAdminIDList(ctx context.Context, groupID string) (ownerID string, adminIDList []string, err error)
- func (g *Group) GetGroupsInfoFromLocal2Svr(ctx context.Context, groupIDs ...string) (map[string]*model_struct.LocalGroup, error)
- func (g *Group) GetJoinedDiffusionGroupIDListFromSvr(ctx context.Context) ([]string, error)
- func (g *Group) GetJoinedGroupList(ctx context.Context) ([]*model_struct.LocalGroup, error)
- func (g *Group) GetServerAdminGroupApplicationList(ctx context.Context) ([]*sdkws.GroupRequest, error)
- func (g *Group) GetServerGroupMembers(ctx context.Context, groupID string) ([]*sdkws.GroupMemberFullInfo, error)
- func (g *Group) GetServerJoinGroup(ctx context.Context) ([]*sdkws.GroupInfo, error)
- func (g *Group) GetServerSelfGroupApplication(ctx context.Context) ([]*sdkws.GroupRequest, error)
- func (g *Group) GetSpecifiedGroupMembersInfo(ctx context.Context, groupID string, userIDList []string) ([]*model_struct.LocalGroupMember, error)
- func (g *Group) GetSpecifiedGroupsInfo(ctx context.Context, groupIDs []string) ([]*model_struct.LocalGroup, error)
- func (g *Group) HandlerGroupApplication(ctx context.Context, req *group.GroupApplicationResponseReq) error
- func (g *Group) InviteUserToGroup(ctx context.Context, groupID, reason string, userIDList []string) error
- func (g *Group) IsJoinGroup(ctx context.Context, groupID string) (bool, error)
- func (g *Group) JoinGroup(ctx context.Context, groupID, reqMsg string, joinSource int32) error
- func (g *Group) KickGroupMember(ctx context.Context, groupID string, reason string, userIDList []string) error
- func (g *Group) LoginTime() int64
- func (g *Group) QuitGroup(ctx context.Context, groupID string) error
- func (g *Group) RefuseGroupApplication(ctx context.Context, groupID, fromUserID, handleMsg string) error
- func (g *Group) SearchGroupMembers(ctx context.Context, searchParam *sdk_params_callback.SearchGroupMembersParam) ([]*model_struct.LocalGroupMember, error)
- func (g *Group) SearchGroups(ctx context.Context, param sdk_params_callback.SearchGroupsParam) ([]*model_struct.LocalGroup, error)
- func (g *Group) SetGroupApplyMemberFriend(ctx context.Context, groupID string, rule int32) error
- func (g *Group) SetGroupInfo(ctx context.Context, groupInfo *sdkws.GroupInfoForSet) error
- func (g *Group) SetGroupListener(callback open_im_sdk_callback.OnGroupListener)
- func (g *Group) SetGroupLookMemberInfo(ctx context.Context, groupID string, rule int32) error
- func (g *Group) SetGroupMemberInfo(ctx context.Context, groupMemberInfo *group.SetGroupMemberInfo) error
- func (g *Group) SetGroupMemberNickname(ctx context.Context, groupID, userID string, groupMemberNickname string) error
- func (g *Group) SetGroupMemberRoleLevel(ctx context.Context, groupID, userID string, roleLevel int) error
- func (g *Group) SetGroupVerification(ctx context.Context, groupID string, verification int32) error
- func (g *Group) SetListenerForService(listener open_im_sdk_callback.OnListenerForService)
- func (g *Group) SetLoginTime(loginTime int64)
- func (g *Group) SyncAdminGroupApplications(ctx context.Context, groupIDs ...string) error
- func (g *Group) SyncAllAdminGroupApplication(ctx context.Context) error
- func (g *Group) SyncAllGroupMember(ctx context.Context, groupID string) error
- func (g *Group) SyncAllJoinedGroupsAndMembers(ctx context.Context) error
- func (g *Group) SyncAllSelfGroupApplication(ctx context.Context) error
- func (g *Group) SyncGroupMembers(ctx context.Context, groupID string, userIDs ...string) error
- func (g *Group) SyncGroups(ctx context.Context, groupIDs ...string) error
- func (g *Group) SyncSelfGroupApplications(ctx context.Context, groupIDs ...string) error
- func (g *Group) TransferGroupOwner(ctx context.Context, groupID, newOwnerUserID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServerGroupMemberToLocalGroupMember ¶
func ServerGroupMemberToLocalGroupMember(info *sdkws.GroupMemberFullInfo) *model_struct.LocalGroupMember
func ServerGroupRequestToLocalAdminGroupRequest ¶
func ServerGroupRequestToLocalAdminGroupRequest(info *sdkws.GroupRequest) *model_struct.LocalAdminGroupRequest
func ServerGroupRequestToLocalGroupRequest ¶
func ServerGroupRequestToLocalGroupRequest(info *sdkws.GroupRequest) *model_struct.LocalGroupRequest
func ServerGroupToLocalGroup ¶
func ServerGroupToLocalGroup(info *sdkws.GroupInfo) *model_struct.LocalGroup
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
//utils.GetCurrentTimestampByMill()
func (*Group) AcceptGroupApplication ¶
func (*Group) ChangeGroupMemberMute ¶
func (*Group) ChangeGroupMute ¶
func (*Group) CreateGroup ¶
func (*Group) DismissGroup ¶
func (*Group) DoNotification ¶
func (*Group) GetDesignatedGroupMembers ¶
func (*Group) GetGroupAbstractInfo ¶
func (*Group) GetGroupApplicationListAsApplicant ¶
func (g *Group) GetGroupApplicationListAsApplicant(ctx context.Context) ([]*model_struct.LocalGroupRequest, error)
func (*Group) GetGroupApplicationListAsRecipient ¶
func (g *Group) GetGroupApplicationListAsRecipient(ctx context.Context) ([]*model_struct.LocalAdminGroupRequest, error)
func (*Group) GetGroupInfoFromLocal2Svr ¶
func (g *Group) GetGroupInfoFromLocal2Svr(ctx context.Context, groupID string) (*model_struct.LocalGroup, error)
func (*Group) GetGroupMemberList ¶
func (g *Group) GetGroupMemberList(ctx context.Context, groupID string, filter, offset, count int32) ([]*model_struct.LocalGroupMember, error)
func (*Group) GetGroupMemberListByJoinTimeFilter ¶
func (g *Group) GetGroupMemberListByJoinTimeFilter(ctx context.Context, groupID string, offset, count int32, joinTimeBegin, joinTimeEnd int64, userIDs []string) ([]*model_struct.LocalGroupMember, error)
func (*Group) GetGroupMemberOwnerAndAdmin ¶
func (g *Group) GetGroupMemberOwnerAndAdmin(ctx context.Context, groupID string) ([]*model_struct.LocalGroupMember, error)
func (*Group) GetGroupOwnerIDAndAdminIDList ¶
func (*Group) GetGroupsInfoFromLocal2Svr ¶
func (g *Group) GetGroupsInfoFromLocal2Svr(ctx context.Context, groupIDs ...string) (map[string]*model_struct.LocalGroup, error)
func (*Group) GetJoinedDiffusionGroupIDListFromSvr ¶
func (*Group) GetJoinedGroupList ¶
func (g *Group) GetJoinedGroupList(ctx context.Context) ([]*model_struct.LocalGroup, error)
func (*Group) GetServerAdminGroupApplicationList ¶
func (*Group) GetServerGroupMembers ¶
func (*Group) GetServerJoinGroup ¶
func (*Group) GetServerSelfGroupApplication ¶
func (*Group) GetSpecifiedGroupMembersInfo ¶
func (g *Group) GetSpecifiedGroupMembersInfo(ctx context.Context, groupID string, userIDList []string) ([]*model_struct.LocalGroupMember, error)
func (*Group) GetSpecifiedGroupsInfo ¶
func (g *Group) GetSpecifiedGroupsInfo(ctx context.Context, groupIDs []string) ([]*model_struct.LocalGroup, error)
func (*Group) HandlerGroupApplication ¶
func (*Group) InviteUserToGroup ¶
func (*Group) IsJoinGroup ¶
func (*Group) KickGroupMember ¶
func (*Group) RefuseGroupApplication ¶
func (*Group) SearchGroupMembers ¶
func (g *Group) SearchGroupMembers(ctx context.Context, searchParam *sdk_params_callback.SearchGroupMembersParam) ([]*model_struct.LocalGroupMember, error)
func (*Group) SearchGroups ¶
func (g *Group) SearchGroups(ctx context.Context, param sdk_params_callback.SearchGroupsParam) ([]*model_struct.LocalGroup, error)
func (*Group) SetGroupApplyMemberFriend ¶
func (*Group) SetGroupInfo ¶
func (*Group) SetGroupListener ¶
func (g *Group) SetGroupListener(callback open_im_sdk_callback.OnGroupListener)
func (*Group) SetGroupLookMemberInfo ¶
func (*Group) SetGroupMemberInfo ¶
func (*Group) SetGroupMemberNickname ¶
func (*Group) SetGroupMemberRoleLevel ¶
func (*Group) SetGroupVerification ¶
func (*Group) SetListenerForService ¶
func (g *Group) SetListenerForService(listener open_im_sdk_callback.OnListenerForService)
func (*Group) SetLoginTime ¶
func (*Group) SyncAdminGroupApplications ¶
func (*Group) SyncAllAdminGroupApplication ¶
func (*Group) SyncAllGroupMember ¶
func (*Group) SyncAllJoinedGroupsAndMembers ¶
func (*Group) SyncAllSelfGroupApplication ¶
func (*Group) SyncGroupMembers ¶
func (*Group) SyncGroups ¶
func (*Group) SyncSelfGroupApplications ¶
Click to show internal directories.
Click to hide internal directories.