> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFGroupsCreateGroupRequest

> PFGroupsCreateGroupRequest 資料模型。根據 Title 的群組範本，建立新的群組以及管理和成員角色。

PFGroupsCreateGroupRequest 資料模型。根據 Title 的群組範本，建立新的群組以及管理和成員角色。傳回所建立群組的相關資訊。

## 語法

```cpp theme={null}
typedef struct PFGroupsCreateGroupRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
    const char* groupName;  
} PFGroupsCreateGroupRequest;  
```

### 成員

**`customTags`**   [PFStringDictionaryEntry](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

（選擇性）與要求相關聯的選擇性自訂標籤（例如組建編號、外部追蹤識別碼等）。

**`customTagsCount`**   uint32\_t

customTags 的計數

**`entity`**   [PFEntityKey](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*<br />*may be nullptr*

（選擇性）要執行此動作的選擇性實體。預設為目前登入的實體。

**`groupName`**   const char\*<br />*is null-terminated*

群組的名稱。根據預設，此名稱在 Title 層級是唯一的。

## 需求

**標頭：** PFGroupsTypes.h

## 另請參閱

[PFGroupsTypes 成員](/zh-TW/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members)


## Related topics

- [PFGroupsCreateGroupAsync](/zh-TW/services/playfab/api-references/c/pfgroups/functions/pfgroupscreategroupasync.md)
- [服務 C API 概觀 - PFGroupsTypes.h](/zh-TW/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)
- [Create Group](/api-reference/groups/create-group.md)
- [PFGroupsCreateGroupRoleRequest](/zh-TW/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupscreategrouprolerequest.md)
- [Create Shared Group](/api-reference/shared-group-data/create-shared-group.md)
