| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | class BaseAttachment {
constructor(type, url) {
this.type = type;
this.url = url;
return {
attachment: {
type: this.type,
payload: {
url: this.url,
},
},
};
}
}
export default BaseAttachment;
|