Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.09 KB

File metadata and controls

37 lines (28 loc) · 1.09 KB

Comment

A top-level comment on a TikTok video. Replies are fetched via /tiktok/videos/{id}/comments/{comment_id}/replies.

Properties

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

Example

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)

[Back to Model list] [Back to API list] [Back to README]