File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/pages/docs/chat/rooms Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -120,20 +120,20 @@ await room.messages.reactions.send(message, {
120120
121121``` swift
122122// Send a 👍 reaction using the default type
123- await room.messages .reactions .send (to : message.serial , params : .init (name : " 👍" ))
123+ await room.messages .reactions .send (messageSerial : message.serial , params : .init (name : " 👍" ))
124124
125125// The reaction can be anything, not just UTF-8 emojis:
126- await room.messages .reactions .send (to : message.serial , params : .init (name : " :like:" ))
127- await room.messages .reactions .send (to : message.serial , params : .init (name : " +1" ))
126+ await room.messages .reactions .send (messageSerial : message.serial , params : .init (name : " :like:" ))
127+ await room.messages .reactions .send (messageSerial : message.serial , params : .init (name : " +1" ))
128128
129129// Send a :love: reaction using the Unique type
130- await room.messages .reactions .send (to : message.serial , params : .init (
130+ await room.messages .reactions .send (messageSerial : message.serial , params : .init (
131131 reaction : " :love:" ,
132132 type : .unique
133133))
134134
135135// Send a ❤️ reaction with count 100 using the Multiple type
136- await room.messages .reactions .send (to : message.serial , params : .init (
136+ await room.messages .reactions .send (messageSerial : message.serial , params : .init (
137137 reaction : " ❤️" ,
138138 type : .multiple ,
139139 count : 100
You can’t perform that action at this time.
0 commit comments