Object with data about thread and few functions related to it.
flowchart LR
thread[(thread)]
name>name]
click name callback "Name of the thread."
thread --- name
id{{id}}
click id callback "Id of the thread."
thread --- id
parent_id{{parent_id}}
click parent_id callback "Parent id of the thread."
thread --- parent_id
owner_id{{owner_id}}
click owner_id callback "Owner id of the thread."
thread --- owner_id
slowmode_delay{{slowmode_delay}}
click slowmode_delay callback "Slowmode delay of the thread."
thread --- slowmode_delay
message_count{{message_count}}
click message_count callback "An approximate number of messages in this thread."
thread --- message_count
member_count{{member_count}}
click member_count callback "Member count of this thread."
thread --- member_count
archived{archived}
click archived callback "Whether the thread is archived."
thread --- archived
locked{locked}
click locked callback "Whether the thread is locked."
thread --- locked
invitable{invitable}
click invitable callback "Whether non moderator can add people to thread."
thread --- invitable
archiver_id{{archiver_id}}
click archiver_id callback "Person who archived the thread."
thread --- archiver_id
auto_archive_duration{{auto_archive_duration}}
click auto_archive_duration callback "Default archive duration of thread."
thread --- auto_archive_duration
mention>mention]
click mention callback "Mention of the thread."
thread --- mention
jump_url>jump_url]
click jump_url callback "jump url of the thread."
thread --- jump_url
is_private{is_private}
click is_private callback "Whether the thread is private."
thread --- is_private
is_news{is_news}
click is_news callback "Whether the thread is news thread."
thread --- is_news
is_nsfw{is_nsfw}
click is_nsfw callback "Whether the thread is set as nsfw."
thread --- is_nsfw
created_at>created_at]
click created_at callback "Channel creation time"
thread --- created_at
add_user[[add_user]]
add_user_id{{member id}}
click add_user callback "Add user to a thread."
click add_user_id callback "Id of the member who should be added."
thread --- add_user
add_user --- add_user_id
remove_user[[remove_user]]
remove_user_id{{member id}}
click remove_user callback "Remove user from a thread."
click remove_user_id callback "Id of the member who should be removed"
thread --- remove_user
remove_user --- remove_user_id
delete[[delete]]
click delete callback "Delete the thread."
thread --- delete
None
Name of the thread.
Id of the thread.
Parent id of the thread.
Owner id of the thread.
Slowmode delay of the thread.
An approximate number of messages in this thread.
Member count of this thread.
Whether the thread is archived.
Whether the thread is locked.
Whether non moderator can add people to thread.
Person who archived the thread.
Default archive duration of thread.
Mention of the thread.
jump url of the thread.
Whether the thread is private.
Whether the thread is news thread.
Whether the thread is set as nsfw.
Channel creation time
Add user to a thread. Requires user id.
Remove user from a thread. Requires user id.
Delete the thread.