The text for the block, in the form of a text object. Maximum length for the text in this field is 3000 characters. This field is not required if a valid array of fields objects is provided instead.
This PR allows you to either set text, or just provide a list of fields.
Slack's documentation states:
This PR allows you to either set text, or just provide a list of fields.