ModmailMessage

class praw.models.ModmailMessage(reddit: Reddit, _data: Optional[Dict[str, Any]])

A class for modmail messages.

__init__(reddit: Reddit, _data: Optional[Dict[str, Any]])

Initialize a RedditBase instance (or a subclass).

Parameters:reddit – An instance of Reddit.
classmethod parse(data: Dict[str, Any], reddit: Reddit) → Any

Return an instance of cls from data.

Parameters:
  • data – The structured data.
  • reddit – An instance of Reddit.