Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to link a username in Slack setTopic API

I am using the channels.setTopic API from slack to set the topic of my channel. The topic I'm setting contains a username. Unfortunately, after I make the API call, the topic text does not link the username correctly.

I've already tried to send link_names as true and as 1, but no success.

Help?

like image 632
Tushar Nallan Avatar asked Sep 15 '25 09:09

Tushar Nallan


1 Answers

Apparantly just putting the username inside <> does the trick, ex: <@username>

like image 134
Tushar Nallan Avatar answered Sep 18 '25 10:09

Tushar Nallan