InlineGif

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

Class to provide a gif to embed in text.

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

Create an InlineMedia instance.

Parameters
  • path – The path to a media file.

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