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

Represents a single Thread. More...

#include <ThreadEntities.hpp>

Inheritance diagram for DiscordCoreAPI::Thread:
[legend]

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::DiscordEntity
std::string getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp. More...
 
- Public Data Members inherited from DiscordCoreAPI::Channel
Snowflake applicationId {}
 Application id of the current application.
 
int32_t bitrate { 0 }
 Bitrate of the Channel, if it is a voice Channel.
 
int32_t defaultAutoArchiveDuration { 0 }
 Default time it takes to archive a thread.
 
IconHash icon {}
 Icon for the Channel, if applicable.
 
StringWrapper lastMessageId {}
 Id of the last Message.
 
TimeStamp< std::chrono::milliseconds > lastPinTimestamp {}
 Timestamp of the last pinned Message.
 
ThreadMemberData member {}
 Thread member object for the current User, if they have joined the Thread.
 
int32_t messageCount { 0 }
 An approximate count of Messages in a Thread stops counting at 50.
 
StringWrapper permissions {}
 Computed permissions for the invoking user in the channel, including overwrites.
 
int32_t rateLimitPerUser { 0 }
 Amount of seconds a User has to wait before sending another Message.
 
std::unordered_map< uint64_t, UserDatarecipients {}
 Recipients, in the case of a group Dm or m.
 
StringWrapper rtcRegion {}
 Real-time clock region.
 
ThreadMetadataData threadMetadata {}
 Metadata in the case that this Channel is a Thread.
 
StringWrapper topic {}
 The Channel's topic.
 
int32_t userLimit { 0 }
 User limit, in the case of voice channels.
 
int32_t videoQualityMode { 0 }
 Video quality mode.
 
- Public Data Members inherited from DiscordCoreAPI::ChannelData
uint8_t flags {}
 Flags combined as a bitmask.
 
Snowflake guildId {}
 Id of the Channel's Guild, if applicable.
 
int32_t memberCount { 0 }
 Count of members active in the Channel.
 
StringWrapper name {}
 Name of the Channel.
 
Snowflake ownerId {}
 Id of the Channel's owner.
 
Snowflake parentId {}
 Id of the Channel's parent Channel/category.
 
uint16_t position { 0 }
 The position of the Channel, in the Guild's Channel list.
 
StringWrapper topic {}
 Channel topic.
 
ChannelType type { ChannelType::Dm }
 The type of the Channel.
 
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}
 

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