Skip to main content

Метод Comment.getReplies

Метод предоставляет доступ к ответам на комментарии. Ответы находятся в такой же таблице Comments, как и сами комментарии документа.

Пример​


comments = document.getRange().getComments()
commentsEnumerator = comments.getEnumerator()
for comment in commentsEnumerator:
replies = comment.getReplies()
repliesEnumerator = replies.getEnumerator()
for reply in repliesEnumerator:
print(reply.extractText())