Concord - C Discord API library
A Discord API wrapper library written in C
discord_thread_metadata Struct Reference

#include <channel.h>

Data Fields

bool archived
 
int auto_archive_duration
 
u64unix_ms archive_timestamp
 
bool locked
 
bool invitable
 
u64unix_ms create_timestamp
 

Field Documentation

◆ archived

bool discord_thread_metadata::archived

whether the thread is archived

◆ auto_archive_duration

int discord_thread_metadata::auto_archive_duration

duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 3320, 10080

◆ archive_timestamp

u64unix_ms discord_thread_metadata::archive_timestamp

timestamp when the thread's archive status was last changed, used for calculating recent activity

◆ locked

bool discord_thread_metadata::locked

whether the thread is locked; when a thread is locked only users with MANAGE_THREADS can unarchive it

◆ invitable

bool discord_thread_metadata::invitable

whether non-moderators cana dd other non-moderators to a thread; only available on private threads

◆ create_timestamp

u64unix_ms discord_thread_metadata::create_timestamp

timestamp when the thread was created; only populated for threads created after 2022-01-09


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