Module slacker_reaction

Function Index

add/3Add a reaction for an item at a given timestamp.
get/2List all reactions at a given timestamp.
list/2returns a list of all items reacted to by a use.
remove/3Removes a reaction at a given timestamp.

Function Details

add/3

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

Add a reaction for an item at a given timestamp.

Options can be: file: file to add reaction to file_comment: file comment to add reaction to channel: channel where the message to add reaction to was posted timestamp: timestamp of the message to add reaction to

get/2

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

List all reactions at a given timestamp.

Options can be: file: file to get reaction for file_comment: file comment to get reaction for channel: channel where the message to add reaction to was posted timestamp: timestamp of the message to add reaction to full: if true always return the complete reaction list

list/2

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

returns a list of all items reacted to by a use.

Options can be: user: show reactions made by this user (default: current user) full: if true always return the complete reaction list count: number of items to return per page (default: 100) page: page number of results to return (default: 1)

remove/3

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

Removes a reaction at a given timestamp.

Options can be: file: file to remove reaction from file_comment: file comment to remove reaction from channel: channel where the message to remove reaction from was posted timestamp: timestamp of the message to remove reaction from


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