Description
This object represents update about a form being submitted (or selected quickbutton with QUICK_FORM_ACTION type) in a dialog.
Structure
Variable | Obligative | Type | Description |
---|---|---|---|
updateId | true | String | Uuid with backend ID of the update |
formId | true | String | Uuid with backend ID of a form |
dialog | true | Peer | Dialog in which form was submitted |
sender | true | Peer | User who submitted a form |
metadata | true | String | Metadata transitioned with a form |
additionalMetadata | true | String | Additional metadata transitioned with a form |
type | true | String | “FormSubmitted” value must be filled |
Sample object
{
"updateId" : "Uuid_value",
"type" : "FormSubmitted",
"formId" : "Uuid_value",
"dialog" : {
"type" : "USER",
"id" : "Uuid_value",
"username" : "TestUserName",
"lastName" : "TestlastName",
"firstName" : "TestfirstName"
},
"sender" : {
"type" : "USER",
"id" : "Uuid_value",
"username" : "TestUserName",
"lastName" : "TestlastName",
"firstName" : "TestfirstName"
},
"metadata" : "metadata_string",
"additionalMetadata" : "more_metadata_string"
}