Google Slides · Schema

InsertTextRequest

Inserts text into a shape or a table cell.

CollaborationGoogle WorkspacePresentationsProductivitySlides

Properties

Name Type Description
objectId string The object ID of the shape or table cell.
text string The text to be inserted. Inserting a newline character will implicitly create a new ParagraphMarker.
insertionIndex integer The index where the text will be inserted, in Unicode code units of the UTF-16 encoding.
View JSON Schema on GitHub

JSON Schema

google-slides-insert-text-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "InsertTextRequest",
  "type": "object",
  "description": "Inserts text into a shape or a table cell.",
  "properties": {
    "objectId": {
      "type": "string",
      "description": "The object ID of the shape or table cell."
    },
    "text": {
      "type": "string",
      "description": "The text to be inserted. Inserting a newline character will implicitly create a new ParagraphMarker.\n"
    },
    "insertionIndex": {
      "type": "integer",
      "description": "The index where the text will be inserted, in Unicode code units of the UTF-16 encoding.\n"
    }
  }
}