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

# RichPresenceRequest (JSON)

> RichPresenceRequest (JSON)

# RichPresenceRequest (JSON)

要求應使用哪些 Rich Presence 資訊的相關資訊。

## RichPresenceRequest

RichPresenceRequest 物件具有下列規格。

| 成員 | 類型 | 描述 |
| - | - | - |
| id | string | 要使用之 Rich Presence 字串的 **friendlyName**。 |
| scid | string | 指出 Rich Presence 字串定義位置的 Scid。 |
| params | string 陣列 | 用來完成 Rich Presence 字串的 **friendlyName** 字串陣列。只應指定列舉的易記名稱，而非統計資料。將此項保留空白會移除任何先前的值。 |

## 範例 JSON 語法

```json theme={null}
{
      id:"playingMapWeapon",
      scid:"abba0123-08ba-48ca-9f1a-21627b189b0f",
    }
    
```

## 另請參閱

##### 上層

[JavaScript Object Notation (JSON) 物件參考](https://docs.xbox.com/zh-TW/reference/live/rest/json/atoc-xboxlivews-reference-json.md)


## Related topics

- [JavaScript 物件標記法 (JSON) 物件參考](https://docs.xbox.com/zh-TW/reference/live/rest/json/atoc-xboxlivews-reference-json.md)
- [透過 REST 更新使用者的線上狀態](https://docs.xbox.com/zh-TW/services/xbox-services/community/presence/how-to/live-updating-presence-rest.md)
- [ActivityRequest (JSON)](https://docs.xbox.com/zh-TW/reference/live/rest/json/json-activityrequest.md)
- [Rich Presence (內容)](https://docs.xbox.com/zh-TW/services/xbox-services/community/presence/live-presence-nav.md)
- [Rich Presence 概觀](https://docs.xbox.com/zh-TW/services/xbox-services/community/presence/live-presence-overview.md)
