---
schema_version: "1"
id: 29b0091d73791827520d987ab50fb90d04814d0fdd1aba3ba32f3fd79b12a8aa
title: Work with Topics
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforce-slack-sdk/apex-slack-sdk/guides/apex_ref/apex_ref_topics.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/apex_ref_topics.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5c4f1f783f4fd08a2d9cd2236a2323643f61a857f6933bb0dfdc270680a2984f
products:
  - Apex SDK for Slack (Beta)
---
# Work with Topics

Use the `Topic` class to work with topics for a channel or conversation.

## Topic Class

Represents a topic.

### Topic Methods

The following are methods for `Topic`.

#### getCreator()

**Signature**

```java
public String getCreator()
```

**Return Value**

Type: String

#### getLastSet()

**Signature**

```java
public Integer getLastSet()
```

**Return Value**

Type: Integer

#### getValue()

**Signature**

```java
public String getValue()
```

**Return Value**

Type: String

#### setCreator(creator)

**Signature**

```java
public void setCreator(String creator)
```

**Parameters**

_creator_

Type: String

**Return Value**

Type: void

#### setLastSet(lastSet)

**Signature**

```java
public void setLastSet(Integer lastSet)
```

**Parameters**

_lastSet_

Type: Integer

**Return Value**

Type: void

#### setValue(value)

**Signature**

```java
public void setValue(String value)
```

**Parameters**

_value_

Type: String

**Return Value**

Type: void
