Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PostFunctions

Post-related functions. Corresponds to the /post API route.

Hierarchy

  • PostFunctions

Index

Constructors

Properties

#axios: ClientAxios

Methods

  • createPost(title: string, tags: string[], gifData: any): Promise<PostNewResponse>
  • Create a new post. gifData should be an animated image in gif format that {@link FormData} understands.

    Parameters

    • title: string
    • tags: string[]
    • gifData: any

    Returns Promise<PostNewResponse>

Generated using TypeDoc