Skip to main content
PFGroupsInviteToGroupRequest data model. Invites a player to join a group, if they are not blocked by the group. An optional role can be provided to automatically assign the player to the role if they accept the invitation. By default, if the entity has an application to the group outstanding, this will accept the application instead and return an error indicating such, rather than creating a duplicate invitation to join that will need to be cleaned up later. Returns information about the new invitation or an error indicating an existing application to join was accepted.

Syntax

Members

autoAcceptOutstandingApplication   bool const*
may be nullptr
(Optional) Optional, default true. Automatically accept an application if one exists instead of creating an invitation. customTags   PFStringDictionaryEntry const*
may be nullptr
(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). customTagsCount   uint32_t Count of customTags entity   PFEntityKey const* The entity to perform this action on. group   PFEntityKey const* The identifier of the group. roleId   const char*
is null-terminated
(Optional) Optional. ID of an existing a role in the group to assign the user to. The group’s default member role is used if this is not specified. Role IDs must be between 1 and 64 characters long.

Requirements

Header: PFGroupsTypes.h

See also

PFGroupsTypes members
Last modified on August 3, 2026