How to Hide / Show the Sendbox whenever the bot replies with the suggested action
问题 I'm using Azure Chat bot (v4 MS bot framework) and applied in Direct line channel, and also I'm sending suggestedActions on certain places, on such time i want to disable/hide the sendbox - the input text box Following is my full code at the front end. (async function bot() { const activityMiddleware = () => next => card => { const { activity: { suggestedActions } } = card; const toggleSendBoxEvent = new Event('ToggleSendBoxEvent') if (suggestedActions) { toggleSendBoxEvent.data = "none";