I am using a bot to do some api actions.
I am using slack conversations.create
to create a new channel
{
name: 'channel_name',
is_private: false,
};
Then I post the channel name using chat.postMessage
{
type: 'section',
text: {
type: 'mrkdwn',
text: `INJECT <#${newChannelName}> HERE`,
},
};
I want to see the link to the channel in the message, something like #channel_name , for user to be able to click on it and navigate to the channel itslef.
but i am getting "Private channel info"
What am I missing?