mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
api-docs: Update descriptive uses of "stream" for channel rename.
Updates `.md` files in api_docs/ to use "stream" instead of "channel" for descriptive text, with the exception of the API changelog file. Part of stream to channel rename project.
This commit is contained in:
committed by
Tim Abbott
parent
acec5108c5
commit
388c6b2412
@@ -191,7 +191,7 @@ def usage(self):
|
||||
This plugin will allow users to flag messages
|
||||
as being follow-up items. Users should preface
|
||||
messages with "@followup".
|
||||
Before running this, make sure to create a stream
|
||||
Before running this, make sure to create a channel
|
||||
called "followup" that your API user can send to.
|
||||
'''
|
||||
```
|
||||
@@ -247,7 +247,7 @@ about where the message is sent to.
|
||||
```python
|
||||
bot_handler.send_message(dict(
|
||||
type='stream', # can be 'stream' or 'private'
|
||||
to=stream_name, # either the stream name or user's email
|
||||
to=channel_name, # either the channel name or user's email
|
||||
subject=subject, # message subject
|
||||
content=message, # content of the sent message
|
||||
))
|
||||
|
Reference in New Issue
Block a user