[Feature] Thread user member & thread members pagination (#2580)
* initial commit * return & update old method * mark old method as obsolete
This commit is contained in:
@@ -214,5 +214,13 @@ namespace Discord
|
||||
/// If set to <see langword="false"/>, this value will be "Discord#1234".
|
||||
/// </remarks>
|
||||
public bool FormatUsersInBidirectionalUnicode { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Returns the max thread members allowed to be in a request.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// The maximum number of thread members that can be gotten per-batch.
|
||||
/// </returns>
|
||||
public const int MaxThreadMembersPerBatch = 100;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,5 +21,10 @@ namespace Discord
|
||||
/// Gets the guild this thread was created in.
|
||||
/// </summary>
|
||||
IGuild Guild { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the <see cref="IGuildUser"/> on the server this thread was created in.
|
||||
/// </summary>
|
||||
IGuildUser GuildUser { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user