DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreAPI::StartThreadWithMessageData Struct Reference

For starting a Thread, based on a Message. More...

#include <ThreadEntities.hpp>

Public Data Members

ThreadAutoArchiveDuration autoArchiveDuration { ThreadAutoArchiveDuration::Shortest }
 The duration before it is auto-archived, in minutes.
 
Snowflake channelId {}
 The Channel to start the Thread in.
 
Snowflake messageId {}
 The Message Id to base the Thread off of.
 
int32_t rateLimitPerUser {}
 Integer amount of seconds a user has to wait before sending another message(0 - 21600).
 
std::string reason {}
 Reason for starting the Thread.
 
std::string threadName {}
 The name of the new Thread.
 

The documentation for this struct was generated from the following files: