MCPcopy Index your code
hub / github.com/praw-dev/praw / SubredditMessage

Class SubredditMessage

praw/models/reddit/message.py:114–138  ·  view source on GitHub ↗

A class for messages to a subreddit. .. include:: ../../typical_attributes.rst =============== ================================================================= Attribute Description =============== ================================================================= ``autho

Source from the content-addressed store, hash-verified

112
113
114class SubredditMessage(Message):
115 """A class for messages to a subreddit.
116
117 .. include:: ../../typical_attributes.rst
118
119 =============== =================================================================
120 Attribute Description
121 =============== =================================================================
122 ``author`` Provides an instance of :class:`.Redditor`.
123 ``body`` The body of the message, as Markdown.
124 ``body_html`` The body of the message, as HTML.
125 ``created_utc`` Time the message was created, represented in `Unix Time`_.
126 ``dest`` Provides an instance of :class:`.Redditor`. The recipient of the
127 message.
128 ``id`` The ID of the message.
129 ``name`` The full ID of the message, prefixed with ``t4_``.
130 ``subject`` The subject of the message.
131 ``subreddit`` If the message was sent from a subreddit, provides an instance of
132 :class:`.Subreddit`.
133 ``was_comment`` Whether or not the message was a comment reply.
134 =============== =================================================================
135
136 .. _unix time: https://en.wikipedia.org/wiki/Unix_time
137
138 """

Callers 4

test_inheritanceMethod · 0.90
test_reprMethod · 0.90
test_strMethod · 0.90
parseMethod · 0.85

Calls

no outgoing calls

Tested by 3

test_inheritanceMethod · 0.72
test_reprMethod · 0.72
test_strMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…