Work with Channels

Use the Channel class for working with conversations between two or more users.

Represents information about a workspace channel.

Usage

See Slack's channel object type.

The following are methods for Channel.

Signature

Return Value

Type: Integer

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: Integer

Signature

Return Value

Type: String

Signature

Return Value

Type: Slack.Latest

Signature

Return Value

Type: List<String>

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: Integer

Signature

Return Value

Type: List<String>

Signature

Return Value

Type: List<String>

Signature

Return Value

Type: Double

Signature

Return Value

Type: Slack.Purpose

Signature

Return Value

Type: Slack.Topic

Signature

Return Value

Type: Integer

Signature

Return Value

Type: Integer

Signature

Return Value

Type: Integer

Signature

Return Value

Type: String

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Returns true for a private channel or a group DM channel.

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Parameters

archived

Type: Boolean

Return Value

Type: void

Signature

Parameters

channel

Type: Boolean

Return Value

Type: void

Signature

Parameters

created

Type: Integer

Return Value

Type: void

Signature

Parameters

creator

Type: String

Return Value

Type: void

Signature

Parameters

enterpriseId

Type: String

Return Value

Type: void

Signature

Parameters

extShared

Type: Boolean

Return Value

Type: void

Signature

Parameters

general

Type: Boolean

Return Value

Type: void

Signature

Parameters

globalShared

Type: Boolean

Return Value

Type: vpod

Signature

Parameters

groupValue

Type: Boolean

Return Value

Type: void

Signature

Parameters

id

Type: String

Return Value

Type: void

Signature

Parameters

im

Type: Boolean

Return Value

Type: void

Signature

Parameters

isMoved

Type: Integer

Return Value

Type: void

Signature

Parameters

lastRead

Type: String

Return Value

Type: void

Signature

Parameters

latest

Type: Slack.Latest

Return Value

Type: void

Signature

Parameters

member

Type: Boolean

Return Value

Type: void

Signature

Parameters

members

Type: List<String>

Return Value

Type: void

Signature

Parameters

mpim

Type: Boolean

Return Value

Type: void

Signature

Parameters

name

Type: String

Return Value

Type: void

Signature

Parameters

nameNormalized

Type: String

Return Value

Type: void

Signature

Parameters

numMembers

Type: Integer

Return Value

Type: void

Signature

Parameters

orgDefault

Type: Boolean

Return Value

Type: void

Signature

Parameters

orgMandatory

Type: Boolean

Return Value

Type: void

Signature

Parameters

orgShared

Type: Boolean

Return Value

Type: void

Signature

Parameters

pendingExtShared

Type: Boolean

Return Value

Type: void

Signature

Parameters

pendingShared

Type: List<String>

Return Value

Type: void

Signature

Parameters

previousNames

Type: List<String>

Return Value

Type: void

Signature

Parameters

priority

Type: Double

Return Value

Type: void

Signature

Parameters

privateChannel

Type: Boolean

Return Value

Type: void

Signature

Parameters

purpose

Type: Slack.Purpose

Return Value

Type: void

Signature

Parameters

readOnly

Type: Boolean

Return Value

Type: void

Signature

Parameters

shared

Type: Boolean

Return Value

Type: void

Signature

Parameters

threadOnly

Type: Boolean

Return Value

Type: void

Signature

Parameters

topic

Type: Slack.Topic

Return Value

Type: void

Signature

Parameters

unlinked

Type: Integer

Return Value

Type: void

Signature

Parameters

unreadCount

Type: Integer

Return Value

Type: void

Signature

Parameters

unreadCountDisplay

Type: Integer

Return Value

Type: void

Signature

Parameters

user

Type: String

Return Value

Type: void