InlineImage

class asyncpraw.models.InlineImage(path: str, caption: Optional[str] = None)

Class to provide am image to embed in text.

__init__(path: str, caption: Optional[str] = None)

Initialize an InlineMedia instance.

Parameters
  • path – The path to a media file.

  • caption – An optional caption to add to the image (default: None).