{
"id": "string",
"name": "string",
"messages": [
{
"type": 7,
"payload": {
"text": "string"
}
}
],
"scheduledTimestamp": 0,
"members": [
{
"botUserId": "string",
"corpId": "string",
"externalUserId": [
"string"
],
"wecomChatId": [
"string"
],
"imBotId": "string",
"wxids": [
"string"
]
}
],
"type": 1,
"atAll": true,
"sendAnnouncement": true
}
curl --location --request POST '/api/v2/broadcast/create?token' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"name": "string",
"messages": [
{
"type": 7,
"payload": {
"text": "string"
}
}
],
"scheduledTimestamp": 0,
"members": [
{
"botUserId": "string",
"corpId": "string",
"externalUserId": [
"string"
],
"wecomChatId": [
"string"
],
"imBotId": "string",
"wxids": [
"string"
]
}
],
"type": 1,
"atAll": true,
"sendAnnouncement": true
}'
{
"code": 1,
"msg": "string",
"data": {
"id": "string",
"orgId": "string",
"nameId": "string",
"name": "string",
"count": 0,
"successCount": 0,
"failedCount": 0,
"lostCount": 0,
"botIds": [
"string"
],
"groupIds": [
"string"
],
"createdAt": 0,
"updatedAt": 0,
"startAt": 0,
"finishAt": 0,
"cancelCount": 0,
"sendAnnouncement": true,
"memberNumber": 0,
"scheduledTimestamp": 0
}
}