织梦CMS - 轻松建站从此开始!

欧博ABG官网-欧博官方网址-会员登入

slack api to find existin皇冠g channel

时间:2025-09-05 09:12来源: 作者:admin 点击: 6 次
I am playing with slack apis to create an integration. I am able to sucessfully create a slack channel using this.http.post(slackApiHost + '/channe

I am playing with slack apis to create an integration. I am able to sucessfully create a slack channel using

this.http.post(slackApiHost + '/channels.create', payload, {headers: headers}) .subscribe( res => { console.log(res); resolve(res) }, err => { console.log('error:' + err) } ) })

the payload looks like

var payload = { "name" : channelName };

So, it will fail with name_taken if the channel already exists. which is great. However, I need to find the channel id of the existing channel so that i can then use it for my purpose. how do i go about it?

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-09-14 10:09 最后登录:2025-09-14 10:09
栏目列表
推荐内容