Skip to content

Commit

Permalink
Update Swift Chat metadata example
Browse files Browse the repository at this point in the history
Reflects the fact that we now use JSONValue (see ably-chat-swift commit
c360d7c).
  • Loading branch information
lawrence-forooghian committed Dec 19, 2024
1 parent 42c68cd commit 2cf050a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/chat/rooms/reactions.textile
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,5 @@ const MyComponent = () => {
try await room.reactions.send(params: .init(type: "like"))

try await room.reactions.send(params: .init(type: "heart",
metadata: ["effect": .string("fireworks")]))
metadata: ["effect": "fireworks"]))
```

0 comments on commit 2cf050a

Please sign in to comment.