Skip to content

Commit

Permalink
Added InteractionMessageProperties.Poll
Browse files Browse the repository at this point in the history
  • Loading branch information
budgetdevv committed Apr 19, 2024
1 parent 618cc09 commit 77549ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NetCord/Rest/InteractionMessageProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ public partial class InteractionMessageProperties : IHttpSerializable
[JsonConverter(typeof(JsonConverters.AttachmentPropertiesIEnumerableConverter))]
[JsonPropertyName("attachments")]
public IEnumerable<AttachmentProperties>? Attachments { get; set; }

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("poll")]
public MessagePollProperties? Poll { get; set; }

public HttpContent Serialize()
{
Expand Down

0 comments on commit 77549ee

Please sign in to comment.