opt repost dyn

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-24 14:11:42 +08:00
parent b6b67884f4
commit 8e1b2be073
4 changed files with 71 additions and 37 deletions

View File

@@ -116,6 +116,7 @@ class MsgHttp {
int? publishTime,
ReplyOptionType? replyOption,
int? privatePub,
List<Map<String, dynamic>>? extraContent,
}) async {
var res = await Request().post(
Api.createDynamic,
@@ -133,7 +134,8 @@ class MsgHttp {
"raw_text": rawText,
"type": 1,
"biz_id": "",
}
},
if (extraContent != null) ...extraContent,
]
},
if (privatePub != null || replyOption != null || publishTime != null)