close/2 | Close a direct message channel. |
history/3 | Fetch history of messages and events from a given direct message channel. |
list/1 | List of im channels the user has. |
mark/3 | Moves the read cursor in a direct message channel. |
open/2 | Opens a direct message channel. |
close(Token::string(), Channel::string()) -> http_response()
Close a direct message channel.
history(Token::string(), Channel::string(), Options::list()) -> http_response()
Fetch history of messages and events from a given 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(Token::string()) -> http_response()
List of im channels the user has.
mark(Token::string(), Channel::string(), Timestamp::string()) -> http_response()
Moves the read cursor in a direct message channel.
open(Token::string(), User::string()) -> http_response()
Opens a direct message channel.
Generated by EDoc, Feb 3 2016, 17:11:45.