Class ImageMessage
- Namespace
- AutoGen.Core
- Assembly
- AutoGen.Core.dll
public class ImageMessage : IMessage
- Inheritance
-
ImageMessage
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
ImageMessage(Role, BinaryData, string?)
public ImageMessage(Role role, BinaryData data, string? from = null)
Parameters
role Role
data BinaryData
from string
ImageMessage(Role, string, string?, string?)
public ImageMessage(Role role, string url, string? from = null, string? mimeType = null)
Parameters
role Role
url string
from string
mimeType string
ImageMessage(Role, Uri, string?, string?)
public ImageMessage(Role role, Uri uri, string? from = null, string? mimeType = null)
Parameters
role Role
uri Uri
from string
mimeType string
Properties
Data
public BinaryData? Data { get; }
Property Value
- BinaryData
From
public string? From { get; set; }
Property Value
- string
MimeType
public string MimeType { get; }
Property Value
- string
Role
public Role Role { get; }
Property Value
- Role
Url
public string? Url { get; }
Property Value
- string
Methods
BuildDataUri()
public string BuildDataUri()
Returns
- string
ToString()
public override string ToString()
Returns
- string