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

# PFPushNotificationsSendPushNotificationFromTemplateRequest

> PFPushNotificationsSendPushNotificationFromTemplateRequest 数据模型。表示向收件人发送推送通知模板的请求。

PFPushNotificationsSendPushNotificationFromTemplateRequest 数据模型。表示向收件人发送推送通知模板的请求。

## 语法

```cpp theme={null}
typedef struct PFPushNotificationsSendPushNotificationFromTemplateRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    const char* pushNotificationTemplateId;  
    const char* recipient;  
} PFPushNotificationsSendPushNotificationFromTemplateRequest;  
```

### 成员

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

（可选）与请求关联的可选自定义标记（例如内部版本号、外部跟踪标识符等）。

**`customTagsCount`**   uint32\_t

customTags 的计数

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

推送通知模板的 ID。

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

推送通知收件人的 PlayFabId。

## 要求

**头文件：** PFPushNotificationsTypes.h

## 另请参阅

[PFPushNotificationsTypes 成员](/services/playfab/api-references/c/pfpushnotificationstypes/pfpushnotificationstypes_members)


## Related topics

- [PFPushNotificationsServerSendPushNotificationFromTemplateAsync](/zh-CN/services/playfab/api-references/c/pfpushnotifications/functions/pfpushnotificationsserversendpushnotificationfromtemplateasync.md)
- [服务 C API 概览 - PFPushNotificationsTypes.h](/zh-CN/services/playfab/api-references/c/pfpushnotificationstypes/pfpushnotificationstypes_members.md)
- [PFPushNotificationsSendPushNotificationRequest](/zh-CN/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationrequest.md)
- [PFPushNotificationsServerSendPushNotificationAsync](/zh-CN/services/playfab/api-references/c/pfpushnotifications/functions/pfpushnotificationsserversendpushnotificationasync.md)
- [PFPlatformSpecificRegisterForIOSPushNotificationRequest](/zh-CN/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificregisterforiospushnotificationrequest.md)
