Struct twilight_http::request::channel::thread::create_forum_thread::CreateForumThread
source · pub struct CreateForumThread<'a> { /* private fields */ }
Expand description
Creates a new thread in a forum channel.
Requires the SEND_MESSAGES
permission.
Implementations§
source§impl<'a> CreateForumThread<'a>
impl<'a> CreateForumThread<'a>
Set the forum thread’s applied tags.
sourcepub const fn auto_archive_duration(
self,
auto_archive_duration: AutoArchiveDuration
) -> Self
pub const fn auto_archive_duration(
self,
auto_archive_duration: AutoArchiveDuration
) -> Self
Set the default auto archive duration for newly created threads in the channel.
Automatic archive durations are not locked behind the guild’s boost level.