[Feature] Polls (#2902)

no breakings hopefully
This commit is contained in:
Mihail Gribkov
2024-05-11 23:34:12 +03:00
committed by GitHub
parent 5dadcb2e30
commit 476ec068f1
75 changed files with 1372 additions and 424 deletions

View File

@@ -257,6 +257,21 @@ namespace Discord
/// </summary>
public const int MaxEntitlementsPerBatch = 100;
/// <summary>
/// Returns the maximum number of poll answer voters that can be gotten per-batch.
/// </summary>
public const int MaxPollVotersPerBatch = 100;
/// <summary>
/// Returns the maximum length of a poll answer text.
/// </summary>
public const int MaxPollAnswerTextLength = 55;
/// <summary>
/// Returns the maximum length of a poll question text.
/// </summary>
public const int MaxPollQuestionTextLength = 300;
/// <summary>
/// Returns the maximum number of bans that can be banned in a single bulk request.
/// </summary>