submitForm

suspend fun BaseMessage.submitForm(form: Form)

Submits the form message received from the bot.

Since

4.15.0

Parameters

form

The form to be submitted. The answers of the form should be set to the FormField.temporaryAnswer before calling this method.