mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(bot): correctly proxy voice messages
This commit is contained in:
parent
8187aa05b7
commit
eefbaf0c1d
9 changed files with 21 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
@ -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; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue