I need to copy all content between an initial and a final index in Google Docs API in Python, despite if it is text, image, table, etc. I couldn't find any reference about copying contents regardless of the content type using Google Docs API. Does anyone know how can I implement it?
For example, suppose I want to duplicate the content below inside a Google Doc by copy and paste:
Lorem ipsum dolor sit amet,
[some-image]
[some-table]
consectetur adipiscing elit.
I want to have this output:
Lorem ipsum dolor sit amet,
[some-image]
[some-table]
consectetur adipiscing elit.
Lorem ipsum dolor sit amet,
[some-image]
[some-table]
consectetur adipiscing elit.