Skip to content

Commit

Permalink
[react] Use TAGMSG in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jwheare committed Mar 19, 2017
1 parent c8465f0 commit 58e2804
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions client-tags/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@ This specification doesn't define any restrictions on what can be sent as the re

## Examples

In this example, a `PRIVMSG` is sent to a channel with an ID provided by the server. A client sends a reaction reply to this message and the server sends an echo-message back to the client.
In this example, a `TAGMSG` is sent to a channel with an ID provided by the server. A client sends a reaction reply to this message and the server sends an echo-message back to the client.

S: @draft/msgid=123 :nick!user@host PRIVMSG #channel :Hello!
C: @+draft/reply=123;+draft/react=lol PRIVMSG #channel
S: @draft/msgid=456;+draft/reply=123;+draft/react=lol :nick2!user2@host2 PRIVMSG #channel
C: @+draft/reply=123;+draft/react=lol TAGMSG #channel
S: @draft/msgid=456;+draft/reply=123;+draft/react=lol :nick2!user2@host2 TAGMSG #channel

An example of an emoticon reaction

C: @+draft/reply=123;+draft/react=:) PRIVMSG #channel
C: @+draft/reply=123;+draft/react=:) TAGMSG #channel

An example of an emoji reaction

C: @+draft/reply=123;+draft/react=👋 PRIVMSG #channel
C: @+draft/reply=123;+draft/react=👋 TAGMSG #channel

An example of a reaction with an additional message body
An example of a reaction sent as a `PRIVMSG` with an additional message body

C: @+draft/reply=123;+draft/react=lol PRIVMSG #channel :lol

0 comments on commit 58e2804

Please sign in to comment.