Skip to content

conversations.setTopic missing channel.latest in returned object #2754

@Kief5555

Description

@Kief5555

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions