Class ComponentMedia
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class ComponentMedia : IJsonModel<JsonComponentMedia>
- Inheritance
-
ComponentMedia
- Implements
- Inherited Members
Constructors
ComponentMedia(JsonComponentMedia)
public ComponentMedia(JsonComponentMedia jsonModel)
Parameters
jsonModel
JsonComponentMedia
Properties
ContentType
The media item's media type.
public string? ContentType { get; }
Property Value
Height
Height of the media item.
public int? Height { get; }
Property Value
- int?
LoadingState
Loading state of the media item.
public ComponentMediaLoadingState? LoadingState { get; }
Property Value
ProxyUrl
A proxied URL of the media item.
public string? ProxyUrl { get; }
Property Value
Url
Source URL of the media item.
public string Url { get; }
Property Value
Width
Width of the media item.
public int? Width { get; }
Property Value
- int?