comment submodule¶
This module defines the Comment class which is used to repesent informations about comments.
-
class
abclinuxuapi.comment.Comment¶ Bases:
objectComment representation.
Note
For registered users, the
usernameproperty contains real username, which may differ from what you see, but this allows you to identify the user.This is because registered users can (and do) change their visible usernames anytime they want.
-
url¶ str – Absolute URL of the comment.
-
text¶ str – Fulltext of the comment.
-
timestamp¶ int – Date of the publication as timestamp.
-
username¶ str – Username of the poster.
-
registered¶ bool – Was the user registered?
-
censored¶ bool – Is the comment censored? If so, you will need additional parsing of the comment, which is not yet implemented.
-
response_to¶ obj – Reference to
Commentto which you are responding.Nonein cases where the object is at the top of the comment tree.
-
id¶ Returns – str: Identification of the comment.
-