Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api-reference/message.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ token_list = ["the", "quick", "brown", "fox"]

@cl.on_chat_start
async def main():
msg = cl.Message(content="")
msg = await cl.Message(content="").send()
for token in token_list:
await msg.stream_token(token)

await msg.send()
await msg.update()
```

## Update a message
Expand Down