Class ImageBlock
Image content for a message.
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public sealed class ImageBlock : ContentBlock
Properties
|
Edit this page
View Source
Required. The format of the image.
Declaration
[JsonProperty("format")]
public string Format { get; set; }
Property Value
|
Edit this page
View Source
Source
Required. The source for the image.
Declaration
[JsonProperty("source")]
public MediaContentData Source { get; set; }
Property Value
Methods
|
Edit this page
View Source
Base64(string, string)
Declaration
public static ImageBlock Base64(string base64Data, string format = "png")
Parameters
Returns
|
Edit this page
View Source
S3(string, string, string)
Declaration
public static ImageBlock S3(string s3Uri, string format = "png", string bucketOwner = null)
Parameters
Returns
Extension Methods