googleSlides.formatText apply formatting to text in a shape or table cell.
Example
Inputs
Providepresentation, objectId, and at least one text style. Range and table-cell indexes are optional. When you set endIndex, it must be greater than startIndex; an omitted startIndex counts as 0. Colors use six-digit hex values. A second argument with account selects a Google Account.