I am working on making a canvas kit app. In experimenting with button types, I have found that the url button types are clickable both by the chat user and the teammate responding to the chat. Compare this to an app with a submit button, which is greyed out on the teammate side and is not clickable. Is there a way to prevent a url type button from being clicked by the teammate? (In our use case, we want the url button to be a feedback survey, but we only want the chat user to be able to access the button, not the teammate).
Â
Alternatively, is there a way to redirect to a url from a submit type button? I experimented a little with having the server respond to the submit webhook with a redirect status (such as 301 or 307) but this has not worked.
Â
Thanks in advance for any help or workarounds.
Â
Image: chat on the right shows the teammate view, where the url button is clickable and the submit button is greyed out.
Â