channels.toggleJoinToSend

Set whether all users should join a discussion group in order to comment on a post »

 Method schema is available as of layer 143. Switch »

Parameters

Name Type Description
channel InputChannel Discussion group
enabled Bool Toggle

Result

Updates

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.
400 CHAT_ID_INVALID The provided chat id is invalid.
400 CHAT_NOT_MODIFIED No changes were made to chat information because the new information you passed is identical to the current information.

Only users can use this method

Related pages

Discussion groups

Groups can be associated to a channel as a discussion group, to allow users to discuss about posts.