@likeminds.community/feed-js
Version:
LikeMinds Javascript SDK for chat APIs
17 lines (16 loc) • 657 B
TypeScript
import { Attachment, AttachmentType } from "../../types/models/attachment";
import LMFeedPostAttachmentMeta from "./AttachmentMeta";
declare class LMFeedPostAttachment implements Attachment {
type: AttachmentType;
metaData: LMFeedPostAttachmentMeta;
constructor(type: AttachmentType, metaData: LMFeedPostAttachmentMeta);
static builder(): AttachmentBuilder;
}
export declare class AttachmentBuilder {
private type;
private metaData;
setType(type: AttachmentType): AttachmentBuilder;
setMetadata(metaData: LMFeedPostAttachmentMeta): AttachmentBuilder;
build(): LMFeedPostAttachment;
}
export default LMFeedPostAttachment;