canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,628
edits
(→Text Messages: Fix missing data param definition) |
|||
Line 187: | Line 187: | ||
This message can be sent either way. | This message can be sent either way. | ||
{topic: "message", {peer: <peer>, type: "chat:message", message: {message: <string>}} | {topic: "message", data: {peer: <peer>, type: "chat:message", message: {message: <string>}} | ||
* Peer is the peer the message is being sent to | * Peer is the peer the message is being sent to | ||
Line 194: | Line 194: | ||
===== Typing notifications ===== | ===== Typing notifications ===== | ||
{topic: "message", {peer: <peer>, type: "chat:typing"} | {topic: "message", data: {peer: <peer>, type: "chat:typing"} | ||
* Peer is the peer the message is being sent to | * Peer is the peer the message is being sent to |