Module slacker_star

Function Index

add/2Add a star to an item.
list/3Lists the items starred by a user.
remove/2Removes a star from an item.

Function Details

add/2

add(Token::string(), Options::list()) -> http_response()

Add a star to an item.

Options can be: file: file to add star to file_comment: file comment to add star to channel: channel to add star to timestamp: timestamp of the message to add star to

list/3

list(Token::string(), Channel::string(), Options::list()) -> http_response()

Lists the items starred by a user.

Options can be: user: show star from a user (default: current user) count: number of items to return per page (default: 100) page: page number of results to return (default: 1)

remove/2

remove(Token::string(), Options::list()) -> http_response()

Removes a star from an item.

Options can be: file: file to remove star from file_comment: file comment to remove star from channel: channel to remove star from timestamp: timestamp of the message to remove star from


Generated by EDoc, Feb 3 2016, 17:11:45.