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

For starting a Thread, not 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.
bool invitable {}
 Whether non-moderators can add other non - moderators to a thread; only available when creating a private thread.
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.
ThreadType type { ThreadType::Guild_Public_Thread }
 Type of Thread to create.

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