node-groupme
Version:
The only GroupMe API library that isn't a million years old.
28 lines • 854 B
TypeScript
export default abstract class Attachment {
type: string;
constructor(type: string);
}
export declare class ImageAttachment extends Attachment {
type: string;
url: string;
constructor(data: Omit<ImageAttachment, keyof Attachment>);
}
export declare class LocationAttachment extends Attachment {
type: string;
lat: string;
lng: string;
name: string;
constructor(data: Omit<LocationAttachment, keyof Attachment>);
}
export declare class SplitAttachment extends Attachment {
type: string;
token: string;
constructor(data: Omit<SplitAttachment, keyof Attachment>);
}
export declare class EmojiAttachment extends Attachment {
type: string;
placeholder: string;
charmap: [number, number][];
constructor(data: Omit<EmojiAttachment, keyof Attachment>);
}
//# sourceMappingURL=Attachment.d.ts.map