*此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下這裡

GroupShout

一個可以容納重要群組更新或其他資訊的群組貼文。

特性

pathstring

群組廣播的資源路徑。

格式:groups/{group_id}/shout.

createTimestring
僅限輸出

群組大叫被創建時的時戳。. 此字串的格式為 Timestamp

updateTimestring
僅限輸出

群組大叫最後更新的時間戳。. 此字串的格式為 Timestamp

contentstring

喊叫內容。

最多限制 255 個字元。.

posterstring
僅限輸出

群組廣播的資源路徑。

如果群組被放棄、沒有所有者,且從未發出過廣播,此欄位將不會返回。.

基本網址

https://apis.roblox.com
GroupShout資源

{
"path": "groups/123/shout",
"createTime": "2023-07-05T12:34:56Z",
"updateTime": "2023-07-05T12:34:56Z",
"content": "This is the group shout content to share with everyone.",
"poster": "users/21557"
}

GroupShout

Get Group Shout
Beta

GET /cloud/v2/groups/{group_id}/shout

獲得群組廣播。

如果訪客能夠查看群組廣播,這總是可以恢復的。

如果訪客無法,那麼擁有查看群組廣播的權限以及 group:read 範圍的成員將能夠閱讀群組廣播。

請求路徑參數
group_idstring
需要

群組ID。.

GET /cloud/v2/groups/{group_id}/shout

curl -L -X GET 'https://apis.roblox.com/cloud/v2/groups/{group_id}/shout' \
-H 'x-api-key: {your-api-key}'
回應

{
"path": "groups/123/shout",
"createTime": "2023-07-05T12:34:56Z",
"updateTime": "2023-07-05T12:34:56Z",
"content": "This is the group shout content to share with everyone.",
"poster": "users/21557"
}