FoxoChat.js Packages
    Preparing search index...

    Variable MediaRoutesConst

    MediaRoutes: {
        attachment(uuid: string): `/attachments/${string}`;
        avatar(uuid: string): `/avatars/${string}`;
    } = ...

    The routes of media storage.

    Type declaration

    • attachment: function
      • Route for:

        • GET /attachments/{uuid}

        Parameters

        • uuid: string

        Returns `/attachments/${string}`

    • avatar: function
      • Route for:

        • GET /avatars/{uuid}

        Parameters

        • uuid: string

        Returns `/avatars/${string}`