mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
zerver: Drop support for Zulip API emails in channel creation.
Also write the description a bit better. Discussion: https://chat.zulip.org/#narrow/channel/378-api-design/topic/Channel.20creation.20should.20return.20the.20channel.20ID/near/2240040. Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
9adee70d8d
commit
8f14b717ff
@@ -739,7 +739,7 @@ def create_channel(
|
||||
message_retention_days: Json[str] | Json[int] = RETENTION_DEFAULT,
|
||||
name: Annotated[str, StringConstraints(strip_whitespace=True, min_length=1)],
|
||||
send_new_subscription_messages: Json[bool] = True,
|
||||
subscribers: Json[list[str] | list[int]],
|
||||
subscribers: Json[list[int]],
|
||||
topics_policy: Json[TopicsPolicy] = None,
|
||||
) -> HttpResponse:
|
||||
realm = user_profile.realm
|
||||
|
||||
Reference in New Issue
Block a user