![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For starting a thread_data, 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. | |
snowflake | messageId {} |
The message snowflake to base the thread_data off of. | |
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. | |