slackapi / java-slack-sdk

Slack Developer Kit (including Bolt for Java) for any JVM language
https://slack.dev/java-slack-sdk/
MIT License
571 stars 212 forks source link

`public_url` is missing in `com.slack.api.model.Team` #1338

Closed Spencer857 closed 1 month ago

Spencer857 commented 1 month ago

https://slack.com/api/team.info sometimes returns public_url that contains team website URL. But there is no corresponding field in com.slack.api.model.Team.

srajiang commented 1 month ago

@Spencer857 Thank you for raising this! Confirming that yes public_url is a part of the Team schema and probably should be added to com.slack.api.model.Team.

I've tagged this as an enhancement, and I'll defer to @seratch as to which milestone to drop this into!

seratch commented 1 month ago

Hi @Spencer857, would you mind sharing the difference between url and public_url you've observed? Usually, only team.url is available in a response, which also represents the public xxx.slack.com URL. I understand that you've surely received public_url too but wanted to know when and how it can happen before adding the property anyways.

Spencer857 commented 1 month ago

I noticed that it represents a company website, e.g., https://acmecorp.com.

seratch commented 1 month ago

Thank you. The property will be added in the next release.