attachFromUrl method
dynamic
attachFromUrl(
- dynamic url,
- dynamic mediaType
Attach a photo from a URL @param {string} url URL where photo can be found @param {string} mediaType Media type of photo (JPEG, PNG, GIF)
Implementation
attachFromUrl(url, mediaType) {
this.url = url;
this.mediaType = mediaType;
this.isBase64 = false;
}