*此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按 此处

GroupShout

一个可以容纳重要群组更新或其他信息的群组上的单个状态帖子。

属性

pathstring

群组群组广播的资源路径。

格式:groups/{group_id}/shout.

createTimestring
仅输出

群组喊话创建时的时戳。. 此字符串格式为 FieldMask

updateTimestring
仅输出

群组大声喊的最后更新时间戳。. 此字符串格式为 FieldMask

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"
}