archive/2 | Archives a channel. |
create/2 | Creates a channel. |
history/3 | Fetches history of messages and events from a channel. |
info/2 | Returns information about a team channel. |
invite/3 | Invites a user to a channel. |
join/2 | Join a channel. |
kick/3 | Removes a user from a channel. |
leave/2 | Leave a channel. |
list/2 | List of all channels in the team. |
mark/3 | Set read cursor in a channel. |
rename/3 | Rename a channel. |
set_purpose/3 | Sets the purpose for a channel. |
set_topic/3 | Sets the topic for a channel. |
unarchive/2 | Unarchives a channel. |
archive(Token::string(), Channel::string()) -> http_response()
Archives a channel.
create(Token::string(), Name::string()) -> http_response()
Creates a channel.
history(Token::string(), Channel::string(), Options::list()) -> http_response()
Fetches history of messages and events from a channel.
Options can be: latest: end of time range of messages to include in results oldest: start of time range of messages to include in results inclusive: include messages with latest or oldest timestamp in results (default: 0) count: number of messages to return, between 1 and 1000 (default: 100) unreads: include unread_count_display in the output (default: 0)info(Token::string(), Channel::string()) -> http_response()
Returns information about a team channel.
invite(Token::string(), Channel::string(), User::string()) -> http_response()
Invites a user to a channel.
join(Token::string(), Channel::string()) -> http_response()
Join a channel. If the channel does not exist, it is created.
kick(Token::string(), Channel::string(), User::string()) -> http_response()
Removes a user from a channel.
leave(Token::string(), Channel::string()) -> http_response()
Leave a channel.
list(Token::string(), Options::list()) -> http_response()
List of all channels in the team.
Options can be: exclude_archived: do not return archived channels (default: 0)mark(Token::string(), Channel::string(), Timestamp::string()) -> http_response()
Set read cursor in a channel.
rename(Token::string(), Channel::string(), Name::string()) -> http_response()
Rename a channel.
set_purpose(Token::string(), Channel::string(), Purpose::string()) -> http_response()
Sets the purpose for a channel.
set_topic(Token::string(), Channel::string(), Topic::string()) -> http_response()
Sets the topic for a channel.
unarchive(Token::string(), Channel::string()) -> http_response()
Unarchives a channel.
Generated by EDoc, Feb 3 2016, 17:11:45.