Given that send_message_dialog() fills the form with previous inputs if there are any, we can also provide data to pre-fill the first form. This can be useful for preset dialogs, like an "all players" dialog with all players already input. Add an initial data parameter to send_message_dialog() and add it to the message list if it is provided. |
||
---|---|---|
.. | ||
mills_messages.mjs | ||
send_dialog_form.mjs | ||
settings.mjs |