slack user-id

0

I have created a bot and integrated with slack following the instructions. The bot works as expected and posts to a lambda for fulfilment.

In the lambda i see as part of the request:'x-amz-lex:user-id' which i expect to be the slack user id but its not in the normal slack format of something like UXXXXXX but is a long int such as 'x-amz-lex:user-id': '396498713242.12.691123599936'. How do i translate this to the real slack userid so i can look up the profile for that user?

thanks

Andrew

AMC777
已提问 5 年前394 查看次数
1 回答
0

My mistake i was looking at the x-amz-lex:user-id and the user-id field

thanks

Andrew

AMC777
已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则