> ## 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.

# PFGroupsApplyToGroupRequest

> PFGroupsApplyToGroupRequest データ モデル。グループへの参加申請を作成します。既にグループ申請が存在している状態でこれを呼び出すと、同じものが返されます。

PFGroupsApplyToGroupRequest データ モデル。グループへの参加申請を作成します。既にグループ申請が存在している状態でこれを呼び出すと、エラーではなく同じ申請が返され、申請の有効期限までの時間は更新されません。既定では、エンティティにグループへの参加の未処理の招待がある場合、これは代わりにグループへの参加の招待を承諾し、後でクリーンアップが必要になる重複した参加申請を作成する代わりに、その旨を示すエラーを返します。申請に関する情報、または代わりに招待が承諾されたことを示すエラーを返します。

## 構文

```cpp theme={null}
typedef struct PFGroupsApplyToGroupRequest {  
    bool const* autoAcceptOutstandingInvite;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
    PFEntityKey const* group;  
} PFGroupsApplyToGroupRequest;  
```

### メンバー

**`autoAcceptOutstandingInvite`**   bool const\*<br />*may be nullptr*

(省略可能) 省略可能。既定値は true。未処理の招待が存在する場合、申請を作成する代わりに自動的に承諾します。

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

(省略可能) リクエストに関連付けられている省略可能なカスタム タグ (ビルド番号、外部トレース識別子など)。

**`customTagsCount`**   uint32\_t

customTags の数

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

(省略可能) このアクションの実行対象となる省略可能なエンティティ。既定では、現在ログインしているエンティティになります。

**`group`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*

グループの識別子。

## 要件

**ヘッダー:** PFGroupsTypes.h

## 関連項目

[PFGroupsTypes のメンバー](/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members)


## Related topics

- [PFGroupsApplyToGroupAsync](/ja-jp/services/playfab/api-references/c/pfgroups/functions/pfgroupsapplytogroupasync.md)
- [Services C API overview - PFGroupsTypes.h](/ja-jp/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)
- [PFGroupsApplyToGroupResponse](/ja-jp/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsapplytogroupresponse.md)
- [PFGroupsApplyToGroupGetResult](/ja-jp/services/playfab/api-references/c/pfgroups/functions/pfgroupsapplytogroupgetresult.md)
- [PFGroupsApplyToGroupGetResultSize](/ja-jp/services/playfab/api-references/c/pfgroups/functions/pfgroupsapplytogroupgetresultsize.md)
