更新群组信息时的参数。

interface UpdateGroupInfoParams {
    groupId: string;
    name?: string;
    description?: string;
    avatar?: string;
    public?: boolean;
    joinApprovalRequired?: boolean;
    allowInvites?: boolean;
    inviteNeedConfirm?: boolean;
    maxMembers?: number;
    ext?: string;
}

Properties

groupId: string

群组 ID。

name?: string

更新后的群组名称。

description?: string

更新后的群组描述。

avatar?: string

更新后的群头像地址或标识。

public?: boolean

群组是否为公开群。

joinApprovalRequired?: boolean

用户加入群组时是否需要管理员审批。

allowInvites?: boolean

是否允许普通成员邀请其他用户加入群组。

inviteNeedConfirm?: boolean

受邀用户加入群组前是否需要确认邀请。

maxMembers?: number

群组最大成员数。

ext?: string

群组扩展信息。