MediaImage
public struct MediaImage : WaveMedia
Display an image from a URL. Will replace displaying images via Action.media in future.
-
Type of a MediaImage in json is ‘image’.
Declaration
Swift
public static var type: WaveMediaType -
Url to image to display. Needs to be an https resource so all clients can open it. Image should be a png or url
Declaration
Swift
public let url: URL
MediaImage Structure Reference