ImageData

class praw.models.ImageData(reddit, _data)

Class for image data that’s part of a CustomWidget.

__init__(reddit, _data)

Initialize a PRAWModel instance.

Parameters:reddit – An instance of Reddit.
classmethod parse(data, reddit)

Return an instance of cls from data.

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