mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-16 10:40:12 +00:00
feat(bot): add poll proxying
This commit is contained in:
parent
b72805c51c
commit
9699490674
4 changed files with 55 additions and 2 deletions
|
|
@ -13,4 +13,14 @@ public record ExecuteWebhookRequest
|
|||
public AllowedMentions? AllowedMentions { get; init; }
|
||||
public bool? Tts { get; init; }
|
||||
public Message.MessageFlags? Flags { get; set; }
|
||||
public WebhookPoll? Poll { get; set; }
|
||||
|
||||
public record WebhookPoll
|
||||
{
|
||||
public Message.PollMedia Question { get; init; }
|
||||
public Message.PollAnswer[] Answers { get; init; }
|
||||
public int? Duration { get; init; }
|
||||
public bool AllowMultiselect { get; init; }
|
||||
public int LayoutType { get; init; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue