Skip to content

Commit 5790a03

Browse files
committed
Update README.md
1 parent c61c566 commit 5790a03

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -135,24 +135,6 @@ async def main():
135135
print(f"\ttrack id: {publication}")
136136
```
137137

138-
### Sending and receiving chat
139-
140-
```python
141-
142-
room = rtc.Room()
143-
...
144-
145-
chat = rtc.ChatManager(room)
146-
147-
# receiving chat
148-
@chat.on("message_received")
149-
def on_message_received(msg: rtc.ChatMessage):
150-
print(f"message received: {msg.participant.identity}: {msg.message}")
151-
152-
# sending chat
153-
await chat.send_message("hello world")
154-
```
155-
156138
### RPC
157139

158140
Perform your own predefined method calls from one participant to another.

0 commit comments

Comments
 (0)