InlineGif

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

Class to provide a gif 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).