Module slacker_group

Function Index

archive/2Archives a private group.
close/2Closes a private group.
create/2Creates a private group.
create_child/2Clones and archives a private group.
history/3Fetch history of messages and events from a given private group.
info/2Gets information about a private group.
invite/3Invites a user to a private group.
kick/3Removes a user from a private group.
leave/2Leaves a private group.
list/2List of groups in the team that the calling user has access to.
mark/3Sets the read cursor in a private group.
open/2Opens a private group.
rename/3Rename a group.
set_purpose/3Sets the purpose for a private group.
set_topic/3Sets the topic for a private group.
unarchive/2Unarchives a private group.

Function Details

archive/2

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

Archives a private group.

close/2

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

Closes a private group.

create/2

create(Token::string(), Name::string()) -> http_response()

Creates a private group.

create_child/2

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

Clones and archives a private group.

history/3

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

Fetch history of messages and events from a given private group.

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/2

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

Gets information about a private group.

invite/3

invite(Token::string(), Channel::string(), User::string()) -> http_response()

Invites a user to a private group.

kick/3

kick(Token::string(), Channel::string(), User::string()) -> http_response()

Removes a user from a private group.

leave/2

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

Leaves a private group.

list/2

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

List of groups in the team that the calling user has access to.

Options can be: exclude_archived: do not return archived private channels (default: 0)

mark/3

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

Sets the read cursor in a private group.

open/2

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

Opens a private group.

rename/3

rename(Token::string(), Channel::string(), Name::string()) -> http_response()

Rename a group.

set_purpose/3

set_purpose(Token::string(), Channel::string(), Purpose::string()) -> http_response()

Sets the purpose for a private group.

set_topic/3

set_topic(Token::string(), Channel::string(), Topic::string()) -> http_response()

Sets the topic for a private group.

unarchive/2

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

Unarchives a private group.


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