# GroupInfo

public class GroupInfo

## Constructors

GroupInfo
Link copied to clipboard
public void GroupInfo()
public void GroupInfo(String groupId, String groupName)
public void GroupInfo(Parcel in)

## Properties

createTime
Link copied to clipboard
public long createTime
群组创建时间。 注意：此属性只读
CREATOR
Link copied to clipboard
public final static Creator<GroupInfo> CREATOR
creatorId
Link copied to clipboard
public String creatorId
创建者ID。 注意：此属性只读
extProfile
Link copied to clipboard
public HashMap<String, String> extProfile
群扩展信息。默认最多可设置 10 个扩展信息。 注意：需要通过开发者后台或 API 设置后才能使用，否则返回设置失败
groupId
Link copied to clipboard
public String groupId
群Id。最大长度 64 个字符。支持大小写英文字母与数字的组合。
groupInfoEditPermission
Link copied to clipboard
public GroupOperationPermission groupInfoEditPermission
群信息更新权限
groupName
Link copied to clipboard
public String groupName
群名称。最长不超过 64 个字符，创建群组时群名称可以重复。
introduction
Link copied to clipboard
public String introduction
群简介。最大长度不超过 512 个字符
inviteHandlePermission
Link copied to clipboard
public GroupInviteHandlePermission inviteHandlePermission
被邀请入群权限
invitePermission
Link copied to clipboard
public GroupOperationPermission invitePermission
邀请他人入群权限
joinedTime
Link copied to clipboard
public long joinedTime
当前用户加入时间：用户多次加入群组时，以最后一次加入时间为准。 注意：此属性只读
joinPermission
Link copied to clipboard
public GroupJoinPermission joinPermission
主动加入群权限权限
memberInfoEditPermission
Link copied to clipboard
public GroupMemberInfoEditPermission memberInfoEditPermission
群成员信息更新权限
membersCount
Link copied to clipboard
public int membersCount
群当前成员人数。 注意：此属性只读
notice
Link copied to clipboard
public String notice
群公告。最大长度不超过 1024 个字符
ownerId
Link copied to clipboard
public String ownerId
群主ID。 注意：此属性只读
portraitUri
Link copied to clipboard
public String portraitUri
群头像 URL 地址。长度不超过 128 个字符
profile
Link copied to clipboard
public HashMap<String, String> profile
修改过的群组基本信息，非基础属性
remark
Link copied to clipboard
public String remark
当前群名称备注名 注意：此属性只读
removeMemberPermission
Link copied to clipboard
public GroupOperationPermission removeMemberPermission
将群成员移出群组设置权限
role
Link copied to clipboard
public GroupMemberRole role
当前用户群身份：群主、群管理员、群成员。 注意：此属性只读

## Functions

describeContents
Link copied to clipboard
public int describeContents()
getCreateTime
Link copied to clipboard
public long getCreateTime()
getCreatorId
Link copied to clipboard
public String getCreatorId()
getExtProfile
Link copied to clipboard
public HashMap<String, String> getExtProfile()
getGroupId
Link copied to clipboard
public String getGroupId()
getGroupInfoEditPermission
Link copied to clipboard
public GroupOperationPermission getGroupInfoEditPermission()
getGroupName
Link copied to clipboard
public String getGroupName()
getIntroduction
Link copied to clipboard
public String getIntroduction()
getInviteHandlePermission
Link copied to clipboard
public GroupInviteHandlePermission getInviteHandlePermission()
getInvitePermission
Link copied to clipboard
public GroupOperationPermission getInvitePermission()
getJoinedTime
Link copied to clipboard
public long getJoinedTime()
getJoinPermission
Link copied to clipboard
public GroupJoinPermission getJoinPermission()
getMemberInfoEditPermission
Link copied to clipboard
public GroupMemberInfoEditPermission getMemberInfoEditPermission()
getMembersCount
Link copied to clipboard
public int getMembersCount()
getNotice
Link copied to clipboard
public String getNotice()
getOwnerId
Link copied to clipboard
public String getOwnerId()
getPortraitUri
Link copied to clipboard
public String getPortraitUri()
getProfile
Link copied to clipboard
public HashMap<String, String> getProfile()
getRemark
Link copied to clipboard
public String getRemark()
getRemoveMemberPermission
Link copied to clipboard
public GroupOperationPermission getRemoveMemberPermission()
getRole
Link copied to clipboard
public GroupMemberRole getRole()
setCreateTime
Link copied to clipboard
public void setCreateTime(long createTime)
注意：内部方法，外部设置无效
setCreatorId
Link copied to clipboard
public void setCreatorId(String creatorId)
注意：内部方法，不设置外部设置用户Id
setExtProfile
Link copied to clipboard
public void setExtProfile(HashMap<String, String> extProfile)
setGroupId
Link copied to clipboard
public void setGroupId(String groupId)
setGroupInfoEditPermission
Link copied to clipboard
public void setGroupInfoEditPermission(GroupOperationPermission permission)
setGroupName
Link copied to clipboard
public void setGroupName(String groupName)
setIntroduction
Link copied to clipboard
public void setIntroduction(String introduction)
setInviteHandlePermission
Link copied to clipboard
public void setInviteHandlePermission(GroupInviteHandlePermission permission)
setInvitePermission
Link copied to clipboard
public void setInvitePermission(GroupOperationPermission permission)
setJoinedTime
Link copied to clipboard
public void setJoinedTime(long joinedTime)
注意：内部方法，外部设置无效
setJoinPermission
Link copied to clipboard
public void setJoinPermission(GroupJoinPermission permission)
setMemberInfoEditPermission
Link copied to clipboard
public void setMemberInfoEditPermission(GroupMemberInfoEditPermission permission)
setMembersCount
Link copied to clipboard
public void setMembersCount(int membersCount)
注意：内部方法，外部设置无效
setNotice
Link copied to clipboard
public void setNotice(String notice)
setOwnerId
Link copied to clipboard
public void setOwnerId(String ownerId)
注意：内部方法，外部设置无效
setPortraitUri
Link copied to clipboard
public void setPortraitUri(String portraitUri)
setRemark
Link copied to clipboard
public void setRemark(String remark)
注意：内部方法，外部设置无效
setRemoveMemberPermission
Link copied to clipboard
public void setRemoveMemberPermission(GroupOperationPermission permission)
setRole
Link copied to clipboard
public void setRole(GroupMemberRole role)
注意：内部方法，外部设置无效
toString
Link copied to clipboard
public String toString()
writeToParcel
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)