TikTokApi.api.comment module
- class TikTokApi.api.comment.Comment(data: dict | None = None)[source]
Bases:
object
A TikTok Comment.
- Example Usage
for comment in video.comments: print(comment.text) print(comment.as_dict)
- as_dict: dict
The raw data associated with this comment
- id: str
The id of the comment
- likes_count: int
The amount of likes of the comment
- text: str
The contents of the comment