feat: add send message async

This commit is contained in:
engigu
2024-01-03 19:55:38 +08:00
parent 6fc60d67b5
commit f575a1d246
7 changed files with 76 additions and 9 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ class ApiStrGenerate {
static getCurlString(task_id, options) {
let data = { task_id: task_id };
let data = { task_id: task_id, mode: "async" };
data.text = 'Hello World!';
if (options.html) {
data.html = '<h1> Hello World! </h1>';