redditwarp.models.comment_ASYNC#

class redditwarp.models.comment_ASYNC.Comment(d: Mapping[str, Any], client: Client)[source]#

Bases: Comment

client: Client#
async reply(text: str) Comment[source]#
async edit_body(text: str) Comment[source]#
async delete() None[source]#
async lock() None[source]#
async unlock() None[source]#
async distinguish() Comment[source]#
async distinguish_and_sticky() Comment[source]#
async undistinguish() Comment[source]#
async approve() None[source]#
async remove() None[source]#
async remove_spam() None[source]#
async apply_removal_reason(reason_id: str | None, note: str | None = None) None[source]#
async send_removal_comment(title: str, message: str) Comment[source]#
async send_removal_message(title: str, message: str, *, exposed: bool = False) None[source]#
class redditwarp.models.comment_ASYNC.LooseComment(d: Mapping[str, Any], client: Client)[source]#

Bases: Comment, LooseComment