Slack v0.0.12 Slack.Group

Functions for working with private channels (groups)

Summary

Functions

Archive a private channel

Close a private channel

Create a private channel

Replace a private channel

Get the history of a private channel

Get the info of a private channel

Invite a user to a private channel

Kick a user from a private channel

Leave a private channel

List private channels

Move the read cursor in a private channel

Open a private channel

Rename a private channel

Set the purpose of a private channel

Set the topic of a private channel

Unarchive a private channel

Functions

archive(client, body \\ [])

Archive a private channel.

https://api.slack.com/methods/groups.archive

Examples

Slack.Group.archive(client, channel: "G1234567890")
close(client, body \\ [])

Close a private channel.

https://api.slack.com/methods/groups.close

Examples

Slack.Group.close(client, channel: "G1234567890")
create(client, body \\ [])

Create a private channel.

https://api.slack.com/methods/groups.create

Examples

Slack.Group.create(client, name: "newchannel")
createChild(client, body \\ [])

Specs

Replace a private channel.

https://api.slack.com/methods/groups.createChild

Examples

Slack.Group.createChild(client, channel: "G1234567890")
history(client, query \\ [])

Get the history of a private channel.

https://api.slack.com/methods/groups.history

Examples

Slack.Group.history(client, channel: "G1234567890")
info(client, query \\ [])

Get the info of a private channel.

https://api.slack.com/methods/groups.info

Examples

Slack.Group.info(client, channel: "G1234567890")
invite(client, body \\ [])

Invite a user to a private channel.

https://api.slack.com/methods/groups.invite

Examples

Slack.Group.invite(client, channel: "G1234567890", user: "U1234567890")
kick(client, body \\ [])

Kick a user from a private channel.

https://api.slack.com/methods/groups.kick

Examples

Slack.Group.kick(client, channel: "G1234567890", user: "U1234567890")
leave(client, body \\ [])

Leave a private channel.

https://api.slack.com/methods/groups.leave

Examples

Slack.Group.leave(client, channel: "G1234567890")
list(client, query \\ [])

List private channels.

https://api.slack.com/methods/groups.list

Examples

Slack.Group.list(client)
mark(client, body \\ [])

Move the read cursor in a private channel.

https://api.slack.com/methods/groups.mark

Examples

Slack.Group.mark(client, channel: "G1234567890", ts: 1234567890.123456)
open(client, body \\ [])

Open a private channel.

https://api.slack.com/methods/groups.open

Examples

Slack.Group.open(client, channel: "G1234567890")
rename(client, body \\ [])

Rename a private channel.

https://api.slack.com/methods/groups.rename

Examples

Slack.Group.rename(client, channel: "G1234567890", name: "newname")
setPurpose(client, body \\ [])

Specs

Set the purpose of a private channel.

https://api.slack.com/methods/groups.setPurpose

Examples

Slack.Group.setPurpose(client, channel: "G1234567890", purpose: "purpose")
setTopic(client, body \\ [])

Set the topic of a private channel.

https://api.slack.com/methods/groups.setTopic

Examples

Slack.Group.setTopic(client, channel: "G1234567890", topic: "topic")
unarchive(client, body \\ [])

Specs

Unarchive a private channel.

https://api.slack.com/methods/groups.unarchive

Examples

Slack.Group.unarchive(client, channel: "G1234567890")