feat(bot): correctly proxy voice messages

This commit is contained in:
spiral
2023-04-15 12:10:04 -04:00
parent 8187aa05b7
commit eefbaf0c1d
9 changed files with 21 additions and 11 deletions

View File

@@ -1,3 +1,3 @@
namespace Myriad.Rest.Types;
public record MultipartFile(string Filename, Stream Data, string? Description);
public record MultipartFile(string Filename, Stream Data, string? Description, string? Waveform, float? DurationSecs);

View File

@@ -11,4 +11,5 @@ public record ExecuteWebhookRequest
public Sticker[] Stickers { get; init; }
public Message.Attachment[] Attachments { get; set; }
public AllowedMentions? AllowedMentions { get; init; }
public Message.MessageFlags? Flags { get; set; }
}