Is a Slack channel id unique across teams?

前端 未结 1 1738
逝去的感伤
逝去的感伤 2021-01-04 06:42

Is a Slack channel/group/im/mpim id unique across different teams? In other words, can two teams have channels with the same id?

I read the docs, searched on Google

1条回答
  •  死守一世寂寞
    2021-01-04 06:49

    Slack plans to clarify this in documentation soon. While in the present day you'd probably get by just fine assuming IDs are unique across different teams, we strongly recommend scoping all of your storage and retrieval by team ID.

    Essentially, we recommend considering IDs as only unique within teams, regardless of if experientially they are globally unique.

    This is the best way to protect yourself for the future.

    0 讨论(0)
提交回复
热议问题