Protocols/OSCAR/SNAC/CHAT CHANNEL MSG TO HOST: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/CHAT__CHANNEL_MSG_TOHOST/Origin}} |name=CHAT__CHANNEL_MSG_TOHOST |id=0x000E, 0x0005 |service={{...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Protocols/OSCAR/SNAC/Stats | {{Protocols/OSCAR/SNAC/Stats | ||
|origin={{Protocols/OSCAR/SNAC/CHAT__CHANNEL_MSG_TOHOST/Origin}} | |origin={{Protocols/OSCAR/SNAC/CHAT__CHANNEL_MSG_TOHOST/Origin}} | ||
|name= | |name=CHAT__CHANNEL_MSG_TO_HOST | ||
|id=0x000E, 0x0005 | |id=0x000E, 0x0005 | ||
|service={{Protocols/OSCAR/Foodgroups/CHAT/Service}} | |service={{Protocols/OSCAR/Foodgroups/CHAT/Service}} | ||
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,05) channel3 message from client to chat room === | |||
<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,05) </font></b></td> | |||
<td width=70% align=right><b><font color="white">CHAT__CHANNEL_MSG_TOHOST </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 message from client to chat server (chat room). AIM chat use | |||
only channel 3 messages. Reflection flag used to receive own messages. | |||
<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> 00 0E</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=55%>SNAC family</td> | |||
</tr> | |||
<tr> | |||
<td> 00 05</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=35> </td> | |||
<td width=22%> xx xx xx xx<br> xx xx xx xx</td> | |||
<td> </td> | |||
<td valign=top>qword</td> | |||
<td> </td> | |||
<td width=55% 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 0x01 begin --> | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=30> </td> | |||
<td> | |||
<table width=600 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=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=25%> 00 01</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>TLV.Type(0x01) - public/whisper flag</td> | |||
</tr> | |||
<tr> | |||
<td> 00 00</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=600 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 0x06 begin --> | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=30> </td> | |||
<td> | |||
<table width=600 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=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=25%> 00 06</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>TLV.Type(0x06) - enable reflection flag</td> | |||
</tr> | |||
<tr> | |||
<td> 00 00</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=600 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 0x06 end --> | |||
<!-- TLV 0xXX --> | |||
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=30> </td> | |||
<td> | |||
<table width=600 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=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=25%> 00 05</td> | |||
<td width=5> </td> | |||
<td width=17%>word</td> | |||
<td width=5> </td> | |||
<td width=60%>TLV.Type(0x05) - message 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=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td colspan=5> | |||
<!-- nested tlv(0x02) begin --> | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=30> </td> | |||
<td> | |||
<table width=560 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=560 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=21%> 00 02</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>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=560 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=21%> xx ..</td> | |||
<td width=5> </td> | |||
<td>ascii</td> | |||
<td width=5> </td> | |||
<td width=60%>Encoding name 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=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=30> </td> | |||
<td> | |||
<table width=560 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=560 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=21%> 00 03</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>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=560 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=21%> 00 00</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>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=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=30> </td> | |||
<td> | |||
<table width=560 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=560 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=21%> 00 01</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>TLV.Type(0x01) - message language</td> | |||
</tr> | |||
<tr> | |||
<td> xx ..</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=560 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=21%> xx ..</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=60%>Message text (HTML text)</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--> | |||
</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 6A D8 00 88 00 0E 00 05 00 00 00 00 00 05 *.j............. | |||
33 41 35 36 35 43 38 37 00 03 00 01 00 00 00 06 3A565C87........ | |||
00 00 00 05 00 68 00 02 00 08 75 73 2D 61 73 63 .....h....us-asc | |||
69 69 00 03 00 02 65 6E 00 01 00 52 3C 48 54 4D ii....en...R<HTM | |||
4C 3E 3C 42 4F 44 59 20 42 47 43 4F 4C 4F 52 3D L><BODY BGCOLOR= | |||
22 23 66 66 66 66 66 66 22 3E 3C 46 4F 4E 54 20 "#ffffff"><FONT | |||
4C 41 4E 47 3D 22 30 22 3E 48 69 2E 2E 2E 2E 20 LANG="0">Hi.... | |||
41 6E 79 62 6F 64 79 20 3F 3C 2F 46 4F 4E 54 3E Anybody ?</FONT> | |||
3C 2F 42 4F 44 59 3E 3C 2F 48 54 4D 4C 3E </BODY></HTML> | |||
</pre></font> | |||
</td></tr></table> | |||
</td></tr></table> | |||
=== CHAT SNACs === | === CHAT SNACs === | ||
{{Protocols/OSCAR/Foodgroups/CHAT/SNACs/Simple}} | {{Protocols/OSCAR/Foodgroups/CHAT/SNACs/Simple}} | ||
[[Category:With_Contrib]] | |||
[[Category:Stub]] | [[Category:Stub]] | ||
[[Category:AOL]] | [[Category:AOL]] |
Latest revision as of 02:28, 13 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, 0x0005 | Client | CHAT__CHANNEL_MSG_TO_HOST | Unspecified | CHAT | Active | 1.10 |
Channel message from client.
SNAC Header
Foodgroup | uint16 (word) | 00 0E |
Subgroup | uint16 (word) | 00 05 |
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,05) channel3 message from client to chat room
|
This is the message from client to chat server (chat room). AIM chat use
only channel 3 messages. Reflection flag used to receive own messages.
|
Example SNAC dumps with flap header:
|
CHAT SNACs
|