# Standard

TIP

  • For this form, the response will be an int which represents which button the player clicked, and 0 being the first button
  • 'url': image from the internet
  • 'path': image that you have installed

# Standard Form

To send a form of the type of "form", the array containing the data of this form must contain the following keys:

- Main Structure
 ['type']     The form type as string, this will be 'form' for this form type
 ['title']    The title of the form as string
 ['content']  The text that will be in the beginning of the form as string
 ['buttons']  The buttons that will be in the form as array

- Adding Buttons
Add a different array for each button inside of the ['buttons'] key, must contain the following key:
 ['text']     The text of the button as string

- Adding Images
Add an ['image'] key inside the button array which should contain the following keys:
 ['type']     String Value. Accepts: 'url' or 'path'
 ['data']     The data containing either the URL or the path of the image as string
ON THIS PAGE