12
src/Discord.Net.Rest/API/Common/PollMedia.cs
Normal file
12
src/Discord.Net.Rest/API/Common/PollMedia.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Discord.API;
|
||||
|
||||
internal class PollMedia
|
||||
{
|
||||
[JsonProperty("text")]
|
||||
public string Text { get; set; }
|
||||
|
||||
[JsonProperty("emoji")]
|
||||
public Optional<Emoji> Emoji { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user