How can I get username for conversation with bot on Slack channel

For a conversation with bot on Slack Channel is the username of profile being stored somewhere or is there a way I can access the username.

Right now I am getting some psuedo name in ‘profile’.
like ‘Wholesome Dove’

PS: Need user details for capturing feedbacks.

In slack each user has a specific user id → first you have to fetch the channel id from the logs →
then for slack we have an API to fetch all the details of a particular user from their user id → Hit that API, you will get all the details.


Hi Sakshi
can you please share the API details?

Shared on slack