Comment
comment
¶
Comments and discussions for pages, blocks, and databases.
Comment(*args: Any, **kwargs: Any)
¶
A comment on a page, block, or database behaving like a normal string.
Discussion(comments: Sequence[Comment], *, parent: DataObject)
¶
A list of comments, i.e. a discussion thread.
__getitem__(idx: int | slice) -> Comment | Sequence[Comment]
¶
__getitem__(idx: int) -> Comment
__getitem__(idx: slice) -> Sequence[Comment]
__len__() -> int
¶
__repr__() -> str
¶
__str__() -> str
¶
append(text: str) -> Self
¶
Add a comment to the discussion.
Note
This functionality requires that your integration was granted insert comment capabilities.