Documentation ¶
Index ¶
- type Group
- func (g *Group) AcceptGroupApplication(callback open_im_sdk_callback.Base, groupID, fromUserID, handleMsg string, ...)
- func (g *Group) ChangeGroupMemberMute(callback open_im_sdk_callback.Base, groupID, userID string, ...)
- func (g *Group) ChangeGroupMute(callback open_im_sdk_callback.Base, groupID string, isMute bool, ...)
- func (g *Group) CreateGroup(callback open_im_sdk_callback.Base, groupBaseInfo string, memberList string, ...)
- func (g *Group) DismissGroup(callback open_im_sdk_callback.Base, groupID string, operationID string)
- func (g *Group) DoNotification(msg *api.MsgData, conversationCh chan common.Cmd2Value)
- func (g *Group) GetGroupInfoFromLocal2Svr(groupID string) (*model_struct.LocalGroup, error)
- func (g *Group) GetGroupMemberList(callback open_im_sdk_callback.Base, groupID string, ...)
- func (g *Group) GetGroupMemberListByJoinTimeFilter(callback open_im_sdk_callback.Base, groupID string, offset, count int32, ...)
- func (g *Group) GetGroupMemberOwnerAndAdmin(callback open_im_sdk_callback.Base, groupID string, operationID string)
- func (g *Group) GetGroupMembersInfo(callback open_im_sdk_callback.Base, groupID string, userIDList string, ...)
- func (g *Group) GetGroupOwnerIDAndAdminIDList(groupID, operationID string) (ownerID string, adminIDList []string, err error)
- func (g *Group) GetGroupsInfo(callback open_im_sdk_callback.Base, groupIDList string, operationID string)
- func (g *Group) GetJoinedDiffusionGroupIDListFromSvr(operationID string) ([]string, error)
- func (g *Group) GetJoinedGroupList(callback open_im_sdk_callback.Base, operationID string)
- func (g *Group) GetRecvGroupApplicationList(callback open_im_sdk_callback.Base, operationID string)
- func (g *Group) GetSendGroupApplicationList(callback open_im_sdk_callback.Base, operationID string)
- func (g *Group) InviteUserToGroup(callback open_im_sdk_callback.Base, groupID, reason string, userIDList string, ...)
- func (g *Group) JoinGroup(callback open_im_sdk_callback.Base, groupID, reqMsg string, joinSource int32, ...)
- func (g *Group) KickGroupMember(callback open_im_sdk_callback.Base, groupID string, reason string, ...)
- func (g *Group) LoginTime() int64
- func (g *Group) QuitGroup(callback open_im_sdk_callback.Base, groupID string, operationID string)
- func (g *Group) RefuseGroupApplication(callback open_im_sdk_callback.Base, groupID, fromUserID, handleMsg string, ...)
- func (g *Group) SearchGroupMembers(callback open_im_sdk_callback.Base, searchParam string, operationID string)
- func (g *Group) SearchGroups(callback open_im_sdk_callback.Base, searchParam, operationID string)
- func (g *Group) SetGroupApplyMemberFriend(callback open_im_sdk_callback.Base, rule int32, groupID string, ...)
- func (g *Group) SetGroupInfo(callback open_im_sdk_callback.Base, groupInfo string, groupID string, ...)
- func (g *Group) SetGroupListener(callback open_im_sdk_callback.OnGroupListener)
- func (g *Group) SetGroupLookMemberInfo(callback open_im_sdk_callback.Base, rule int32, groupID string, ...)
- func (g *Group) SetGroupMemberNickname(callback open_im_sdk_callback.Base, groupID, userID string, ...)
- func (g *Group) SetGroupMemberRoleLevel(callback open_im_sdk_callback.Base, groupID, userID string, roleLevel int, ...)
- func (g *Group) SetGroupVerification(callback open_im_sdk_callback.Base, verification int32, groupID string, ...)
- func (g *Group) SetLoginTime(loginTime int64)
- func (g *Group) SyncAdminGroupApplication(operationID string)
- func (g *Group) SyncJoinedGroupList(operationID string)
- func (g *Group) SyncJoinedGroupMemberForFirstLogin(operationID string)
- func (g *Group) SyncSelfGroupApplication(operationID string)
- func (g *Group) TransferGroupOwner(callback open_im_sdk_callback.Base, groupID, newOwnerUserID string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
//utils.GetCurrentTimestampByMill()
func (*Group) AcceptGroupApplication ¶
func (g *Group) AcceptGroupApplication(callback open_im_sdk_callback.Base, groupID, fromUserID, handleMsg string, operationID string)
func (*Group) ChangeGroupMemberMute ¶
func (*Group) ChangeGroupMute ¶
func (*Group) CreateGroup ¶
func (*Group) DismissGroup ¶
func (g *Group) DismissGroup(callback open_im_sdk_callback.Base, groupID string, operationID string)
func (*Group) DoNotification ¶
func (*Group) GetGroupInfoFromLocal2Svr ¶
func (g *Group) GetGroupInfoFromLocal2Svr(groupID string) (*model_struct.LocalGroup, error)
func (*Group) GetGroupMemberList ¶
func (*Group) GetGroupMemberListByJoinTimeFilter ¶
func (g *Group) GetGroupMemberListByJoinTimeFilter(callback open_im_sdk_callback.Base, groupID string, offset, count int32, joinTimeBegin, joinTimeEnd int64, filterUserID, operationID string)
getGroupMemberListByJoinTimeFilter
func (*Group) GetGroupMemberOwnerAndAdmin ¶
func (g *Group) GetGroupMemberOwnerAndAdmin(callback open_im_sdk_callback.Base, groupID string, operationID string)
func (*Group) GetGroupMembersInfo ¶
func (*Group) GetGroupOwnerIDAndAdminIDList ¶
func (*Group) GetGroupsInfo ¶
func (g *Group) GetGroupsInfo(callback open_im_sdk_callback.Base, groupIDList string, operationID string)
func (*Group) GetJoinedDiffusionGroupIDListFromSvr ¶
func (*Group) GetJoinedGroupList ¶
func (g *Group) GetJoinedGroupList(callback open_im_sdk_callback.Base, operationID string)
func (*Group) GetRecvGroupApplicationList ¶
func (g *Group) GetRecvGroupApplicationList(callback open_im_sdk_callback.Base, operationID string)
func (*Group) GetSendGroupApplicationList ¶
func (g *Group) GetSendGroupApplicationList(callback open_im_sdk_callback.Base, operationID string)
func (*Group) InviteUserToGroup ¶
func (*Group) KickGroupMember ¶
func (*Group) QuitGroup ¶
func (g *Group) QuitGroup(callback open_im_sdk_callback.Base, groupID string, operationID string)
func (*Group) RefuseGroupApplication ¶
func (g *Group) RefuseGroupApplication(callback open_im_sdk_callback.Base, groupID, fromUserID, handleMsg string, operationID string)
func (*Group) SearchGroupMembers ¶
func (g *Group) SearchGroupMembers(callback open_im_sdk_callback.Base, searchParam string, operationID string)
func (*Group) SearchGroups ¶
func (g *Group) SearchGroups(callback open_im_sdk_callback.Base, searchParam, operationID string)
func (*Group) SetGroupApplyMemberFriend ¶
func (*Group) SetGroupInfo ¶
func (*Group) SetGroupListener ¶
func (g *Group) SetGroupListener(callback open_im_sdk_callback.OnGroupListener)
func (*Group) SetGroupLookMemberInfo ¶
func (*Group) SetGroupMemberNickname ¶
func (*Group) SetGroupMemberRoleLevel ¶
func (*Group) SetGroupVerification ¶
func (*Group) SetLoginTime ¶
func (*Group) SyncAdminGroupApplication ¶
func (*Group) SyncJoinedGroupList ¶
func transferGroupInfo(input []*api.GroupInfo) []*api.GroupInfo{ var result []*api.GroupInfo for _, v := range input { t := &api.GroupInfo{} copier.Copy(t, &v) if v.NeedVerification != nil { t.NeedVerification = v.NeedVerification.Value } result = append(result, t) } return result }
func (*Group) SyncJoinedGroupMemberForFirstLogin ¶
func (*Group) SyncSelfGroupApplication ¶
func (*Group) TransferGroupOwner ¶
func (g *Group) TransferGroupOwner(callback open_im_sdk_callback.Base, groupID, newOwnerUserID string, operationID string)
Click to show internal directories.
Click to hide internal directories.