[MM-15220] Add generic error field to SubmitDialogResponse (#12081)

This will allow integrations to return an generic error message that is
not tied to a specific dialog field.
Этот коммит содержится в:
Paulo Bittencourt
2019-09-11 11:35:51 -04:00
коммит произвёл Ben Schumacher
родитель 98489b9e67
Коммит 9c3fc4ab9f
3 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@@ -222,6 +222,7 @@ type SubmitDialogRequest struct {
}
type SubmitDialogResponse struct {
Error string `json:"error,omitempty"`
Errors map[string]string `json:"errors,omitempty"`
}