conversations.setTopic missing `channel.latest` in returned object

Open
#2,550 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
node.js, typescript
Domain
api

Research direction

Start at the client.conversations.setTopic entry point and reproduce the call with the configuration and versions listed. Trace the returned response and any existing coverage for this method; done means the result exposes channel.latest after the topic update.

Written by the indexing model from the issue text.

Description

area:typescript auto-triage-skip bug pkg:web-api
@slack/bolt version

4.6.0

Your App and Receiver Configuration

e.g. const app = new App({ token: slackToken, socketMode: true, signingSecret: process.env.SLACK_SIGNING_SECRET, appToken: process.env.APP_TOKEN, scopes: [ "app_mentions:read", "channels:history", "channels:read", "chat:write", "commands", "groups:history", "groups:read", "im:history", "im:read", "im:write", "mpim:history", "mpim:write", "reactions:read", "reactions:write", "users.profile:read", "users:read", ], });

Node.js runtime version

v24.11.1

Steps to reproduce:
  1. Init empty project
  2. Add app with configurations mentioned above
  3. Add bot to workspace, create a channel

Call client.conversations.setTopic:
const result = await app.client.conversations.setTopic({ channel: channelId, topic: "some random topic", });

api

Expected result:

result.channel.latest to not be undefined

Actual result:

.latest is undefined

Dominant language
TypeScript
Stars
3.4k
Forks
693
Avg merge
1d 1h
Merged PRs (30d)
67

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from slackapi/node-slack-sdk

All issues in slackapi/node-slack-sdk

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.