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

# PFGroupsGroupInvitation

> PFGroupsGroupInvitation データ モデル。グループへの招待を記述します。

PFGroupsGroupInvitation データ モデル。グループへの招待を記述します。

## 構文

```cpp theme={null}
typedef struct PFGroupsGroupInvitation {  
    time_t expires;  
    PFEntityKey const* group;  
    PFGroupsEntityWithLineage const* invitedByEntity;  
    PFGroupsEntityWithLineage const* invitedEntity;  
    const char* roleId;  
} PFGroupsGroupInvitation;  
```

### メンバー

**`expires`**   time\_t

招待が有効期限切れとなり削除される日時。

**`group`**   [PFEntityKey](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfentitykey-c.md) const\*\
*may be nullptr*

(省略可能) エンティティが招待されたグループ。

**`invitedByEntity`**   [PFGroupsEntityWithLineage](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsentitywithlineage.md) const\*\
*may be nullptr*

(省略可能) 招待を作成したエンティティ。

**`invitedEntity`**   [PFGroupsEntityWithLineage](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsentitywithlineage.md) const\*\
*may be nullptr*

(省略可能) 招待されたエンティティ。

**`roleId`**   const char\*\
*is null-terminated*

(省略可能) ユーザーを割り当てるグループ内のロールの ID。

## 要件

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

## 関連項目

[PFGroupsTypes のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)


## Related topics

- [PFGroupsListGroupInvitationsResponse](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupslistgroupinvitationsresponse.md)
- [PFGroupsListMembershipOpportunitiesResponse](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupslistmembershipopportunitiesresponse.md)
- [Services C API overview - PFGroupsTypes.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)
- [List Group Invitations](https://docs.xbox.com/api-reference/groups/list-group-invitations.md)
- [Remove Group Invitation](https://docs.xbox.com/api-reference/groups/remove-group-invitation.md)
