Module slacker_group

Function Index

create/2Creates a private group.
create_child/2Clones and archives a private group.
history/2Fetch history of messages and events from a given private group.
invite/3Invites a user to a private group.
kick/3Removes a user from a private group.
leave/2Leaves a private group.
list/1List of groups in the team that the calling user has access to.
mark/3Sets the read cursor in 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.

Function Details

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

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

Fetch history of messages and events from a given 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/1

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

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

mark/3

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

Sets the read cursor in 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.


Generated by EDoc, Nov 13 2014, 12:20:41.