We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f71cc7e commit e18db66Copy full SHA for e18db66
interactions/api/http/thread.py
@@ -221,7 +221,11 @@ async def create_thread_in_forum(
221
"""
222
query = {"use_nested_fields": 1}
223
224
- payload = {"name": name, "auto_archive_duration": auto_archive_duration}
+ payload = {
225
+ "name": name,
226
+ "auto_archive_duration": auto_archive_duration,
227
+ "message_payload": message_payload,
228
+ }
229
if rate_limit_per_user:
230
payload["rate_limit_per_user"] = rate_limit_per_user
231
if applied_tags:
0 commit comments