Module threads_api

Source

Enums§

GetThreadMentionCountsByChannelError
struct for typed errors of method get_thread_mention_counts_by_channel
GetUserThreadError
struct for typed errors of method get_user_thread
GetUserThreadsError
struct for typed errors of method get_user_threads
SetThreadUnreadByPostIdError
struct for typed errors of method set_thread_unread_by_post_id
StartFollowingThreadError
struct for typed errors of method start_following_thread
StopFollowingThreadError
struct for typed errors of method stop_following_thread
UpdateThreadReadForUserError
struct for typed errors of method update_thread_read_for_user
UpdateThreadsReadForUserError
struct for typed errors of method update_threads_read_for_user

Functions§

get_thread_mention_counts_by_channel
Get all unread mention counts from followed threads Minimum server version: 5.29 ##### Permissions Must be logged in as the user or have edit_other_users permission.
get_user_thread
Get a thread Minimum server version: 5.29 ##### Permissions Must be logged in as the user or have edit_other_users permission.
get_user_threads
Get all threads that user is following Minimum server version: 5.29 ##### Permissions Must be logged in as the user or have edit_other_users permission.
set_thread_unread_by_post_id
Mark a thread that user is following as unread Minimum server version: 6.7 ##### Permissions Must have read_channel permission for the channel the thread is in or if the channel is public, have the read_public_channels permission for the team. Must have edit_other_users permission if the user is not the one marking the thread for himself.
start_following_thread
Start following a thread Minimum server version: 5.29 ##### Permissions Must be logged in as the user or have edit_other_users permission.
stop_following_thread
Stop following a thread Minimum server version: 5.29 ##### Permissions Must be logged in as the user or have edit_other_users permission.
update_thread_read_for_user
Mark a thread that user is following as read Minimum server version: 5.29 ##### Permissions Must be logged in as the user or have edit_other_users permission.
update_threads_read_for_user
Mark all threads that user is following as read Minimum server version: 5.29 ##### Permissions Must be logged in as the user or have edit_other_users permission.