Add default value for invitable in HTTPClient
This commit is contained in:
parent
4aafa39e8c
commit
e7821be4aa
@ -908,7 +908,7 @@ class HTTPClient:
|
|||||||
name: str,
|
name: str,
|
||||||
auto_archive_duration: threads.ThreadArchiveDuration,
|
auto_archive_duration: threads.ThreadArchiveDuration,
|
||||||
type: threads.ThreadType,
|
type: threads.ThreadType,
|
||||||
invitable: bool,
|
invitable: bool = True,
|
||||||
reason: Optional[str] = None,
|
reason: Optional[str] = None,
|
||||||
) -> Response[threads.Thread]:
|
) -> Response[threads.Thread]:
|
||||||
payload = {
|
payload = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user