{
"CgiCmd": "MessageSvc.PbSendMsg",
"CgiRequest": {
"ToUin": {{GroupId}},
"ToType": 2,
"Markdown": "# 标题 \n",
"Keyboard": [
{
"Buttons": [
{
"Id": "1",
"RenderDataLabel": "⬅️客户端内访问",
"RenderDataVisitedLabel": "⬅️客户端内访问",
"RenderDataStyle": 0,
"ActionType": 0,
"ActionPermissonType": 2,
"ActionData": "https://q.qq.com/",
"ActionUnsupportTips": "兼容文本"
},
{
"Id": "2",
"RenderDataLabel": "⬅️转跳",
"RenderDataVisitedLabel": "⬅️转跳",
"RenderDataStyle": 0,
"ActionType": 3,
"ActionPermissonType": 2,
"ActionData": "https://q.qq.com/",
"ActionUnsupportTips": "兼容文本"
}
]
},
{
"Buttons": [
{
"Id": "3",
"RenderDataLabel": "⬇️群内指令",
"RenderDataVisitedLabel": "⬅️上一页",
"RenderDataStyle": 0,
"ActionType": 2,
"ActionPermissonType": 2,
"ActionData": "ActionData",
"ActionUnsupportTips": "兼容文本"
},
{
"Id": "4",
"RenderDataLabel": "⬇️群内指令",
"RenderDataVisitedLabel": "⬅️上一页",
"RenderDataStyle": 0,
"ActionType": 2,
"ActionPermissonType": 2,
"ActionData": "ActionData",
"ActionUnsupportTips": "兼容文本"
}
]
},
{
"Buttons": [
{
"Id": "5",
"RenderDataLabel": "💡消息按钮💡",
"RenderDataVisitedLabel": "💡消息按钮💡",
"RenderDataStyle": 0,
"ActionType": 0,
"ActionPermissonType": 2,
"ActionData": "https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/trans/msg-btn.html",
"ActionUnsupportTips": "兼容文本"
}
]
}
]
}
}
curl --location -g --request POST 'http://127.0.0.1:8086/v1/LuaApiCaller?funcname=MagicCgiCmd&timeout=10&qq=123456789' \
--header 'Content-Type: application/json' \
--data-raw '{
"CgiCmd": "MessageSvc.PbSendMsg",
"CgiRequest": {
"ToUin": 123456789,
"ToType": 2,
"Markdown": "# 标题 \n",
"Keyboard": [
{
"Buttons": [
{
"Id": "1",
"RenderDataLabel": "⬅️客户端内访问",
"RenderDataVisitedLabel": "⬅️客户端内访问",
"RenderDataStyle": 0,
"ActionType": 0,
"ActionPermissonType": 2,
"ActionData": "https://q.qq.com/",
"ActionUnsupportTips": "兼容文本"
},
{
"Id": "2",
"RenderDataLabel": "⬅️转跳",
"RenderDataVisitedLabel": "⬅️转跳",
"RenderDataStyle": 0,
"ActionType": 3,
"ActionPermissonType": 2,
"ActionData": "https://q.qq.com/",
"ActionUnsupportTips": "兼容文本"
}
]
},
{
"Buttons": [
{
"Id": "3",
"RenderDataLabel": "⬇️群内指令",
"RenderDataVisitedLabel": "⬅️上一页",
"RenderDataStyle": 0,
"ActionType": 2,
"ActionPermissonType": 2,
"ActionData": "ActionData",
"ActionUnsupportTips": "兼容文本"
},
{
"Id": "4",
"RenderDataLabel": "⬇️群内指令",
"RenderDataVisitedLabel": "⬅️上一页",
"RenderDataStyle": 0,
"ActionType": 2,
"ActionPermissonType": 2,
"ActionData": "ActionData",
"ActionUnsupportTips": "兼容文本"
}
]
},
{
"Buttons": [
{
"Id": "5",
"RenderDataLabel": "💡消息按钮💡",
"RenderDataVisitedLabel": "💡消息按钮💡",
"RenderDataStyle": 0,
"ActionType": 0,
"ActionPermissonType": 2,
"ActionData": "https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/trans/msg-btn.html",
"ActionUnsupportTips": "兼容文本"
}
]
}
]
}
}'
{
"CgiBaseResponse": {
"ErrMsg": "string",
"Ret": 0
},
"ResponseData": {
"MsgSeq": 0,
"MsgTime": 0
}
}