Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Comment

import type { Comment } from "https://googleapis.deno.dev/v1/drive:v3.ts";

A comment on a file. Some resource methods (such as comments.update) require a commentId. Use the comments.list method to retrieve the ID for a comment in a file.

interface Comment {
anchor?: string;
author?: User;
content?: string;
createdTime?: Date;
deleted?: boolean;
htmlContent?: string;
id?: string;
kind?: string;
modifiedTime?: Date;
quotedFileContent?: {
mimeType?: string;
value?: string;
}
;
replies?: Reply[];
resolved?: boolean;
}

§Properties

§
anchor?: string
[src]

A region of the document represented as a JSON string. For details on defining anchor properties, refer to Manage comments and replies.

§
author?: User
[src]

Output only. The author of the comment. The author's email address and permission ID will not be populated.

§
content?: string
[src]

The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.

§
createdTime?: Date
[src]

The time at which the comment was created (RFC 3339 date-time).

§
deleted?: boolean
[src]

Output only. Whether the comment has been deleted. A deleted comment has no content.

§
htmlContent?: string
[src]

Output only. The content of the comment with HTML formatting.

§
id?: string
[src]

Output only. The ID of the comment.

§
kind?: string
[src]

Output only. Identifies what kind of resource this is. Value: the fixed string "drive#comment".

§
modifiedTime?: Date
[src]

The last time the comment or any of its replies was modified (RFC 3339 date-time).

§
quotedFileContent?: {
mimeType?: string;
value?: string;
}
[src]

The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment.

§
replies?: Reply[]
[src]

Output only. The full list of replies to the comment in chronological order.

§
resolved?: boolean
[src]

Output only. Whether the comment has been resolved by one of its replies.