Module slacker_mpim

Function Index

close/2Close a multiparty direct message channel.
history/3Fetch history of messages and events from a given multiparty direct message channel.
list/1List of multiparty direct message channels the user has.
mark/3Moves the read cursor in a multiparty direct message channel.
open/2Opens a multiparty direct message channel.

Function Details

close/2

close(Token::string(), Channel::string()) -> http_response()

Close a multiparty direct message channel.

history/3

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

Fetch history of messages and events from a given multiparty direct message 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)

list/1

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

List of multiparty direct message channels the user has.

mark/3

mark(Token::string(), Channel::string(), Timestamp::string()) -> http_response()

Moves the read cursor in a multiparty direct message channel.

open/2

open(Token::string(), Users::[string()]) -> http_response()

Opens a multiparty direct message channel.


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