mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-21 20:42:46 +01:00
17 lines
272 B
C#
17 lines
272 B
C#
namespace TweetLib.Browser.Contexts {
|
|
public readonly struct Media {
|
|
public Type MediaType { get; }
|
|
public string Url { get; }
|
|
|
|
public Media(Type mediaType, string url) {
|
|
MediaType = mediaType;
|
|
Url = url;
|
|
}
|
|
|
|
public enum Type {
|
|
Image,
|
|
Video
|
|
}
|
|
}
|
|
}
|