Channels

Start a thread from a message

Changed on

Creates a public thread from an existing message in a text channel. The thread shares the ID of the message, so a message can start one thread.

post/channels/{channel_id}/messages/{message_id}/threads

Request

  • Base URL: https://web.fluxer.app/api/v1
  • URL: https://web.fluxer.app/api/v1/channels/{channel_id}/messages/{message_id}/threads
  • Auth: one of:
    • API key in header Authorization
    • API key in header Authorization

Path parameters

string snowflake required
OR
integer required

The ID of the channel

string snowflake required
OR
integer required

The ID of the message

Request body

namestring required

The name of the thread (1-100 characters)

auto_archive_duration60 | 1440 | 4320 | 10080

Minutes of inactivity before the thread stops showing in the channel list

rate_limit_per_userinteger
locationstring

Accepted and ignored

Response

Success

idstring snowflake required
guild_idstring snowflake
namestring nullable

The name of the channel

topicstring nullable

The topic of the channel

urlstring uri nullable

The URL associated with the channel

iconstring nullable

The icon hash of the channel (for group DMs)

owner_idstring snowflake
type0 | 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 15 | 16 | 998 | 999 required

The type of the channel

positioninteger
parent_idstring snowflake
bitrateinteger
user_limitinteger
voice_connection_limitinteger
rtc_regionstring nullable

The voice region ID for the voice channel

last_message_idstring snowflake
last_pin_timestampstring date-time nullable

The ISO 8601 timestamp of when the last pinned message was pinned

nsfwboolean

Whether the channel is marked as NSFW (effective value, walking channel → category → guild)

nsfw_overrideboolean nullable

Per-channel adult-content override; null means inherit from parent category and then guild. Categories use this same field as their own override.

content_warning_level0 | 1

The content warning level for a guild, category, or channel

content_warning_textstring nullable

Custom channel content warning text (max 200 characters); null inherits from parent or guild

rate_limit_per_userinteger
nicksobject

Custom nicknames for users in this channel (for group DMs)

flagsinteger
applied_tagsSnowflakeStringType[]

IDs of the tags applied to a forum or media post

message_countinteger
total_message_sentinteger
member_countinteger
member_ids_previewSnowflakeStringType[]

IDs of the most recently joined members of a forum or media post, newest first

default_auto_archive_durationinteger
default_thread_rate_limit_per_userinteger
default_sort_orderinteger
default_forum_layoutinteger
default_tag_setting'match_some' | 'match_all'

Default tag search setting

Changes

Of the 34 revisions, 2 have no diff computed.