![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For starting a thread_data, not based on a message. More...
#include <ThreadEntities.hpp>
Public Data Members | |
thread_auto_archive_duration | autoArchiveDuration { thread_auto_archive_duration::Shortest } |
The duration before it is auto-archived, in minutes. | |
snowflake | channelId {} |
The channel_data to start the thread_data in. | |
bool | invitable {} |
Whether non-moderators can add other non - moderators to a thread; only available when creating a protected thread. | |
int32_t | rateLimitPerUser {} |
Integer amount of seconds a user has to wait before sending another message(0 - 21600). | |
jsonifier::string | reason {} |
Reason for starting the thread_data. | |
jsonifier::string | threadName {} |
The name of the new thread_data. | |
thread_type | type { thread_type::Guild_Public_Thread } |
Type of thread_data to create. | |