- Ability
- File
- Generic
- Request
- Group
- Info
- Message
获取群公告
POST
/_get_group_notice
请求参数
Body 参数application/json
group_id
integer
群 Uin
示例
{
"group_id": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/_get_group_notice' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
status
enum<string>
状态
枚举值:
ok
retcode
integer
返回代码
data
array [object {4}]
公告信息列表
notice_id
string
公告 ID
sender_id
integer
发布者 Uin
publish_time
integer
发布时间
message
object
消息
示例
{
"status": "ok",
"retcode": 0,
"data": [
{
"notice_id": "string",
"sender_id": 0,
"publish_time": 0,
"message": {
"text": "string",
"images": [
{
"id": "string",
"height": "string",
"width": "string"
}
]
}
}
]
}
修改于 2024-12-01 19:53:40