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

# PFGroupsInviteToGroupResponse

> PFGroupsInviteToGroupResponse 資料模型。描述群組的邀請。

PFGroupsInviteToGroupResponse 資料模型。描述群組的邀請。

## 語法

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

### 成員

**`expires`**   time\_t

邀請到期並被刪除的時間。

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

（選擇性）實體受邀加入的群組。

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

（選擇性）建立邀請的實體。

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

（選擇性）受邀的實體。

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

（選擇性）要將使用者指派到之群組角色的 ID。

## 需求

**標頭：** PFGroupsTypes.h

## 另請參閱

[PFGroupsTypes 成員](https://devdocs.xbox.com/zh-TW/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)


## Related topics

- [PFGroupsInviteToGroupGetResult](https://devdocs.xbox.com/zh-TW/services/playfab/api-references/c/pfgroups/functions/pfgroupsinvitetogroupgetresult.md)
- [服務 C API 概觀 - PFGroupsTypes.h](https://devdocs.xbox.com/zh-TW/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)
- [Invite To Group](https://devdocs.xbox.com/api-reference/groups/invite-to-group.md)
- [PFGroupsInviteToGroupRequest](https://devdocs.xbox.com/zh-TW/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsinvitetogrouprequest.md)
- [PFGroupsInviteToGroupAsync](https://devdocs.xbox.com/zh-TW/services/playfab/api-references/c/pfgroups/functions/pfgroupsinvitetogroupasync.md)
