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

# PFGroupsInviteToGroupRequest

> PFGroupsInviteToGroupRequest 데이터 모델입니다. 그룹에 의해 차단되지 않은 경우 플레이어를 그룹에 참가하도록 초대합니다. 선택적으로 역할을 지정하여.

PFGroupsInviteToGroupRequest 데이터 모델입니다. 그룹에 의해 차단되지 않은 경우 플레이어를 그룹에 참가하도록 초대합니다. 선택적으로 역할을 지정하여 플레이어가 초대를 수락하면 자동으로 해당 역할에 할당되도록 할 수 있습니다. 기본적으로, 엔터티에 그룹에 대한 미결 신청이 있는 경우 신청이 대신 수락되고, 나중에 정리해야 할 중복 참가 초대를 만드는 대신 이를 나타내는 오류가 반환됩니다. 새 초대에 대한 정보 또는 기존 참가 신청이 수락되었음을 나타내는 오류를 반환합니다.

## 구문

```cpp theme={null}
typedef struct PFGroupsInviteToGroupRequest {  
    bool const* autoAcceptOutstandingApplication;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
    PFEntityKey const* group;  
    const char* roleId;  
} PFGroupsInviteToGroupRequest;  
```

### 멤버

**`autoAcceptOutstandingApplication`**   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\*

이 작업을 수행할 엔터티입니다.

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

그룹의 식별자입니다.

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

(선택 사항) 선택 사항. 사용자를 할당할 그룹 내 기존 역할의 ID입니다. 지정하지 않으면 그룹의 기본 멤버 역할이 사용됩니다. 역할 ID는 길이가 1\~64자여야 합니다.

## 요구 사항

**헤더:** PFGroupsTypes.h

## 참고 항목

[PFGroupsTypes 멤버](/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members)


## Related topics

- [PFGroupsInviteToGroupAsync](/ko/services/playfab/api-references/c/pfgroups/functions/pfgroupsinvitetogroupasync.md)
- [Services C API overview - PFGroupsTypes.h](/ko/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)
- [PFGroupsApplyToGroupRequest](/ko/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsapplytogrouprequest.md)
- [PFGroupsInviteToGroupResponse](/ko/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsinvitetogroupresponse.md)
- [PFGroupsInviteToGroupGetResult](/ko/services/playfab/api-references/c/pfgroups/functions/pfgroupsinvitetogroupgetresult.md)
