Retrieve the list of workspaces that have already been connected to a channel Any previously-connected workspaces you do not include will be disconnected. Set the connected workspaces for a channel. You can handle connected workspaces for a channel with the following methods: Action Since this argument won't contain more complex characters, you don't need to do further encoding.įor example, to set who can post messages, use the who_can_post field inside your prefs argument: "prefs": "" "Stringified JSON" means JSON with white space removed and fields marked by single quotations. To set either who can post or who can respond in threads, you'll use the prefs argument with some stringified JSON. You can decide exactly who can post messages in your channel, and who can respond inside threads with the following methods: Action If you have your channels up and running, you might want to make some modifications to who has permission to post messages and to respond in threads. The reference pages linked above are your best source of info for how to call these methods and what to expect in response. Here are the methods for some of the most common things you'll want to do with channels: Action
0 Comments
Leave a Reply. |