Protocols/OSCAR/SNAC/CHAT CHANNEL MSG TO CLIENT: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 19: | Line 19: | ||
=== SNAC Data === | === SNAC Data === | ||
Unconfirmed: This SNAC contains no data | Unconfirmed: This SNAC contains no data | ||
=== From Aleksandr Shutko: SNAC(0E,06) chat room channel3 message from server === | |||
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#4040FF> | |||
<table width=100% cellSpacing=0 cellPadding=0 border=0> | |||
<tr> | |||
<td><b><font color="white">SNAC(0E,06) </font></b></td> | |||
<td width=70% align=right><b><font color="white">CHAT__CHANNEL_MSG_TOCLIENT </font></b></td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
</table> | |||
</td></tr></table> | |||
<table width=640 cellSpacing=0 cellPadding=0 border=0><tr><td><br> | |||
This is the chat room message from server. AIM chat use only channel 3 messages. | |||
Reflection flag used to receive own messages. See also [[Protocols/OSCAR/Foodgroups/OSERVICE/Datatypes/USERINFO#Datatype:_OSERVICE_USERINFO|additional information]] about online userinfo block. | |||
<br><br> | |||
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#E9E9E9 > | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=169> 00 0E</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=352>SNAC family</td> | |||
</tr> | |||
<tr> | |||
<td> 00 06</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>SNAC subtype</td> | |||
</tr> | |||
<tr> | |||
<td> 00 00</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>SNAC flags</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>SNAC request-id</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=22> </td> | |||
<td width=142> xx xx xx xx<br> xx xx xx xx</td> | |||
<td> </td> | |||
<td valign=top>qword</td> | |||
<td> </td> | |||
<td width=352 valign=top>msg-id cookie</td> | |||
</tr> | |||
<tr> | |||
<td> </td> | |||
<td> 00 03</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>message channel</td> | |||
</tr> | |||
</table> | |||
<!-- TLV 0x03 --> | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr><tr><td width=20></td><td> | |||
<table width=610 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0><tr><td bgcolor=#f9f9f9> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> 00 03</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=344>TLV.Type(0x03) - sender information</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#f9f9f9> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td colspan=5> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=20> </td> | |||
<td width=122> xx</td> | |||
<td> </td> | |||
<td>byte</td> | |||
<td> </td> | |||
<td width=344>screenname (uin) strlen</td> | |||
</tr> | |||
<tr> | |||
<td> </td> | |||
<td> xx ..</td> | |||
<td> </td> | |||
<td>ascii</td> | |||
<td> </td> | |||
<td>screenname (uin) string</td> | |||
</tr> | |||
<tr> | |||
<td> </td> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>warning level</td> | |||
</tr> | |||
<tr> | |||
<td> </td> | |||
<td> 00 03</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>number of info TLVs (user info block)</td> | |||
</tr> | |||
</table> | |||
<!-- nested tlv(0x01) begin --> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr><tr><td width=20></td><td> | |||
<table width=580 bgcolor=darkred cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> 00 01</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=340>TLV.Type(0x01) - user class</td> | |||
</tr> | |||
<tr> | |||
<td> 00 02</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=340>[[Protocols/OSCAR/Foodgroups/OSERVICE/Datatypes/USERINFO#Class:_OSERVICE_USER_FLAGS|User class]]</td> | |||
</tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td><td width=5></td></tr> | |||
<tr><td height=5 colspan=3> | |||
</td></tr></table> | |||
<!-- nested tlv(0x01) end--> | |||
<!-- nested tlv(0x0F) begin --> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr><tr><td width=20></td><td> | |||
<table width=580 bgcolor=darkred cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> 00 0f</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=340>TLV.Type(0x0f) - user idle time</td> | |||
</tr> | |||
<tr> | |||
<td> 00 04</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> xx xx xx xx</td> | |||
<td width=5> </td> | |||
<td>dword</td> | |||
<td width=5> </td> | |||
<td width=340>user idle time in seconds</td> | |||
</tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td><td width=5></td></tr> | |||
<tr><td height=5 colspan=3> | |||
</td></tr></table> | |||
<!-- nested tlv(0x0F) end--> | |||
<!-- nested tlv(0x03) begin --> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr><tr><td width=20></td><td> | |||
<table width=580 bgcolor=darkred cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> 00 03</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=340>TLV.Type(0x03) - signon time</td> | |||
</tr> | |||
<tr> | |||
<td> 00 04</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> xx xx xx xx</td> | |||
<td width=5> </td> | |||
<td>dword</td> | |||
<td width=5> </td> | |||
<td width=340>signon time (unix time_t)</td> | |||
</tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td><td width=5></td></tr> | |||
<tr><td height=5 colspan=3> | |||
</td></tr></table> | |||
<!-- nested tlv(0x0F) end--> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td><td width=5> </td></tr> | |||
<tr><td height=5 colspan=3> </td></tr> | |||
</table> | |||
<!-- TLV 0x01 begin --> | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=20> </td> | |||
<td> | |||
<table width=610 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#f9f9f9 > | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> 00 01</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=344>TLV.Type(0x01) - public/whisper flag</td> | |||
</tr> | |||
<tr> | |||
<td> 00 00</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#f9f9f9> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td colspan=5> empty (no tlv data)</td> | |||
</tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td><td width=5> </td></tr> | |||
<tr><td height=5 colspan=3> | |||
</td></tr></table> | |||
<!-- tlv 0x01 end --> | |||
<!-- TLV 0x05 --> | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr><tr><td width=20></td><td> | |||
<table width=610 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0><tr><td bgcolor=#f9f9f9> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> 00 05</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=346>TLV.Type(0x05) - message information</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#f9f9f9> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td colspan=5> | |||
<!-- nested tlv(0x02) begin --> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr><tr><td width=20></td><td> | |||
<table width=580 bgcolor=darkred cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> 00 02</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=340>TLV.Type(0x02) - message encoding</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> xx ..</td> | |||
<td width=5> </td> | |||
<td>ascii</td> | |||
<td width=5> </td> | |||
<td width=340>message encoding string</td> | |||
</tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td><td width=5></td></tr> | |||
<tr><td height=5 colspan=3> | |||
</td></tr></table> | |||
<!-- nested tlv(0x02) end--> | |||
<!-- nested tlv(0x03) begin --> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr><tr><td width=20></td><td> | |||
<table width=580 bgcolor=darkred cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> 00 03</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=340>TLV.Type(0x03) - message language</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> xx ..</td> | |||
<td width=5> </td> | |||
<td>ascii</td> | |||
<td width=5> </td> | |||
<td width=340>message language abbr</td> | |||
</tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td><td width=5></td></tr> | |||
<tr><td height=5 colspan=3> | |||
</td></tr></table> | |||
<!-- nested tlv(0x03) end--> | |||
<!-- nested tlv(0x01) begin --> | |||
<table width=610 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr><tr><td width=20></td><td> | |||
<table width=580 bgcolor=darkred cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> 00 01</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=340>TLV.Type(0x01) - message text</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=580 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=125> xx ..</td> | |||
<td width=5> </td> | |||
<td>ascii</td> | |||
<td width=5> </td> | |||
<td width=340>message text (html)</td> | |||
</tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td><td width=5></td></tr> | |||
<tr><td height=5 colspan=3> | |||
</td></tr></table> | |||
<!-- nested tlv(0x0F) end--> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td><td width=5> </td></tr> | |||
<tr><td height=5 colspan=3> </td></tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
<br>Example SNAC dumps with flap header: | |||
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr> | |||
<td bgcolor=#E9E9E9> | |||
<font size=3><pre style="font-size: 13px"> | |||
2A 02 EE FA 00 B0 00 0E 00 06 00 00 9B 7D BD 28 *............}.( | |||
33 41 35 36 35 43 38 37 00 03 00 03 00 28 0D 52 3A565C87.....(.R | |||
45 41 4C 52 65 67 72 65 73 73 6F 72 00 00 00 03 EALRegressor.... | |||
00 01 00 02 00 10 00 0F 00 04 00 00 00 18 00 03 ................ | |||
00 04 3E 4C BE 8C 00 01 00 00 00 05 00 68 00 02 ..<L.........h.. | |||
00 08 75 73 2D 61 73 63 69 69 00 03 00 02 65 6E ..us-ascii....en | |||
00 01 00 52 3C 48 54 4D 4C 3E 3C 42 4F 44 59 20 ...R<HTML><BODY | |||
42 47 43 4F 4C 4F 52 3D 22 23 66 66 66 66 66 66 BGCOLOR="#ffffff | |||
22 3E 3C 46 4F 4E 54 20 4C 41 4E 47 3D 22 30 22 "><FONT LANG="0" | |||
3E 48 69 2E 2E 2E 2E 20 41 6E 79 62 6F 64 79 20 >Hi.... Anybody | |||
3F 3C 2F 46 4F 4E 54 3E 3C 2F 42 4F 44 59 3E 3C ?</FONT></BODY>< | |||
2F 48 54 4D 4C 3E /HTML> | |||
</pre></font> | |||
</td></tr></table> | |||
</td></tr></table> | |||
[[Category:With_Contrib]] | |||
=== CHAT SNACs === | === CHAT SNACs === |
Latest revision as of 02:03, 14 February 2021
OSCAR Protocol |
Introduction • Terms • Clients |
Basic |
Datatypes • FLAP • SNAC • TLV |
UUIDs • Errors • Tool IDs |
Host Interaction |
Rate Limits • Migration • Messages |
Other Services |
ADMIN • ADVERT • ALERT |
BART • BOS • BUCP • CHAT |
CHAT_NAV |
Tutorials |
Sign On • BART • Rendezvous |
ICBM • Locate • Buddies |
Foodgroups |
OSERVICE (0x0001) |
LOCATE (0x0002) |
BUDDY (0x0003) |
ICBM (0x0004) |
ADVERT (0x0005) |
INVITE (0x0006) |
ADMIN (0x0007) |
POPUP (0x0008) |
PD (0x0009) |
USER_LOOKUP (0x000A) |
STATS (0x000B) |
TRANSLATE (0x000C) |
CHAT_NAV (0x000D) |
CHAT (0x000E) |
ODIR (0x000F) |
BART (0x0010) |
FEEDBAG (0x0013) |
ICQ (0x0015) |
BUCP (0x0017) |
ALERT (0x0018) |
PLUGIN (0x0022) |
UNNAMED_FG_24 (0x0024) |
MDIR (0x0025) |
ARS (0x044A) |
ID | Origin | Name | Foodgroup | Service | Status | Version |
---|---|---|---|---|---|---|
0x000E, 0x0006 | Host | CHAT__CHANNEL_MSG_TOCLIENT | Unspecified | CHAT | Active | 1.10 |
Channel message to client.
SNAC Header
Foodgroup | uint16 (word) | 00 0E |
Subgroup | uint16 (word) | 00 06 |
Flags | uint16 (word) | 00 00 |
Request ID | uint32 (dword) | 00 00 00 00 |
SNAC Data
Unconfirmed: This SNAC contains no data
From Aleksandr Shutko: SNAC(0E,06) chat room channel3 message from server
|
This is the chat room message from server. AIM chat use only channel 3 messages.
Reflection flag used to receive own messages. See also additional information about online userinfo block.
|
Example SNAC dumps with flap header:
|
CHAT SNACs
|