submit Form
Deprecated (with error)
As of 4.19.0, replaced with submitMessageForm(CompletionHandler).
Replace with
submitMessageForm(CompletionHandler)
Content copied to clipboard
Submits the form message received from the bot.
Since
4.12.2
Parameters
form Key
Unique key of the form to be submitted.
answers
A String to String map consisting of form field keys and answers in key:value pairs.
handler
A callback handler that indicates whether the request succeeded or failed.
Deprecated (with error)
As of 4.19.0, replaced with submitMessageForm(CompletionHandler).
Replace with
submitMessageForm(CompletionHandler)
Content copied to clipboard
Submits the form message received from the bot.
Since
4.14.0
Parameters
form
The form to be submitted. The answers of the form should be set to the FormField.temporaryAnswer before calling this method.
handler
A callback handler that indicates whether the request succeeded or failed.