Skip to main content

Module channels

Module channels 

Source
Expand description

Get info on your team’s Slack channels, create or archive channels, invite users, set the topic and purpose, and mark a channel as read.

Structs§

ArchiveRequest
ArchiveResponse
CreateRequest
CreateResponse
HistoryRequest
HistoryResponse
InfoRequest
InfoResponse
InviteRequest
InviteResponse
JoinRequest
JoinResponse
KickRequest
KickResponse
LeaveRequest
LeaveResponse
ListRequest
ListResponse
MarkRequest
MarkResponse
RenameRequest
RenameResponse
RenameResponseChannel
RepliesRequest
RepliesResponse
SetPurposeRequest
SetPurposeResponse
SetTopicRequest
SetTopicResponse
UnarchiveRequest
UnarchiveResponse

Enums§

ArchiveError
CreateError
HistoryError
InfoError
InviteError
JoinError
KickError
LeaveError
ListError
MarkError
RenameError
RepliesError
SetPurposeError
SetTopicError
UnarchiveError

Functions§

archive
Archives a channel.
create
Creates a channel.
history
Fetches history of messages and events from a channel.
info
Gets information about a channel.
invite
Invites a user to a channel.
join
Joins a channel, creating it if needed.
kick
Removes a user from a channel.
leave
Leaves a channel.
list
Lists all channels in a Slack team.
mark
Sets the read cursor in a channel.
rename
Renames a channel.
replies
Retrieve a thread of messages posted to a channel
set_purpose
Sets the purpose for a channel.
set_topic
Sets the topic for a channel.
unarchive
Unarchives a channel.