386 B
386 B
Form Submissions (Chatbot API)
Forms inside cards can collect user input; submissions arrive via webhook.
Pattern
- Send a card with form fields.
- Receive
chat_message.submitwebhook. - Validate inputs and respond with an updated card or confirmation message.
Pitfalls
- Always validate types (dates, numbers) server-side.
- Treat submitted text as untrusted input.