A top-level comment on a TikTok video. Replies are fetched via /tiktok/videos/{id}/comments/{comment_id}/replies.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | ||
| video_id | str | ||
| text | str | ||
| create_time | int | ||
| like_count | int | ||
| reply_count | int | ||
| is_author_liked | bool | ||
| author | Author |
from unifapi.models.comment import Comment
# TODO update the JSON string below
json = "{}"
# create an instance of Comment from a JSON string
comment_instance = Comment.from_json(json)
# print the JSON string representation of the object
print(Comment.to_json())
# convert the object into a dict
comment_dict = comment_instance.to_dict()
# create an instance of Comment from a dict
comment_from_dict = Comment.from_dict(comment_dict)