Server reply via this SNAC to client SNAC(02,05)
request. This snac consists of two parts. The first part constant. The second
part depends on type of the client request and may contain the client profile,
client capabilities or client away message. See also
additional information about online userinfo block.
Request type table:
0x0001 |
general info (reply contain TLV(1), TLV(2)) |
0x0002 |
online info (reply contain only fixed part) |
0x0003 |
away message (reply contain TLV(3), TLV(4)) |
0x0004 |
client capabilities (reply contain TLV(5)) |
|
|
Here is the packet format:
00 02 |
|
word |
|
SNAC family |
00 06 |
|
word |
|
SNAC subtype |
00 00 |
|
word |
|
SNAC flags |
xx xx xx xx |
|
dword |
|
SNAC request-id |
|
xx |
|
char |
|
uin string length |
xx .. |
|
string |
|
uin string |
xx xx |
|
word |
|
warning level |
00 07 |
|
word |
|
Number of TLV in fixed part (user online info) |
|
|
00 01 |
|
word |
|
TLV.Type(0x01) - user class |
xx xx |
|
word |
|
TLV.Length |
|
|
|
| |
|
|
|
00 06 |
|
word |
|
TLV.Type(0x06) - user status |
xx xx |
|
word |
|
TLV.Length |
|
|
|
| |
|
|
|
00 0C |
|
word |
|
TLV.Type(0x0C) - dc info (optional) |
00 25 |
|
word |
|
TLV.Length |
|
xx xx xx xx |
|
dword |
|
DC internal ip address |
xx xx xx xx |
|
dword |
|
DC tcp port |
xx |
|
byte |
|
DC type |
xx xx |
|
word |
|
DC protocol version |
xx xx xx xx |
|
dword |
|
DC auth cookie |
xx xx xx xx |
|
dword |
|
Web front port |
00 00 00 03 |
|
dword |
|
Client futures |
xx xx xx xx |
|
dword |
|
last info update time |
xx xx xx xx |
|
dword |
|
last ext info update time (i.e. icqphone status) |
xx xx xx xx |
|
dword |
|
last ext status update time (i.e. phonebook) |
xx xx |
|
word |
|
unknown |
|
|
| |
|
|
|
00 0A |
|
word |
|
TLV.Type(0x0A) - external ip address |
xx xx |
|
word |
|
TLV.Length |
|
xx xx xx xx |
|
dword |
|
External client ip address |
|
|
| |
|
|
|
00 0F |
|
word |
|
TLV.Type(0x0F) - client idle time |
xx xx |
|
word |
|
TLV.Length |
|
xx xx xx xx |
|
dword |
|
Client idle time |
|
|
| |
|
|
|
00 03 |
|
word |
|
TLV.Type(0x03) - signon time |
xx xx |
|
word |
|
TLV.Length |
|
xx xx xx xx |
|
dword |
|
Time when client gone online |
|
|
| |
|
|
|
00 05 |
|
word |
|
TLV.Type(0x05) - member since |
xx xx |
|
word |
|
TLV.Length |
|
xx xx xx xx |
|
dword |
|
Time when this account was registered |
|
|
| |
|
|
|
00 01 |
|
word |
|
TLV.Type(0x01) - encoding type |
xx xx |
|
word |
|
TLV.Length |
|
xx xx |
|
word |
|
encoding type strlen |
xx .. |
|
string |
|
encoding type string |
|
|
| |
|
|
|
00 02 |
|
word |
|
TLV.Type(0x02) - client profile string |
xx xx |
|
word |
|
TLV.Length |
|
xx xx |
|
word |
|
client profile strlen |
xx .. |
|
string |
|
client profile string |
|
|
| |
|
|
|
00 03 |
|
word |
|
TLV.Type(0x03) - away msg encoding string |
xx xx |
|
word |
|
TLV.Length |
|
xx xx |
|
word |
|
encoding type strlen |
xx .. |
|
string |
|
encoding type string |
|
|
| |
|
|
|
00 04 |
|
word |
|
TLV.Type(0x04) - away msg string |
xx xx |
|
word |
|
TLV.Length |
|
xx xx |
|
word |
|
away message strlen |
xx .. |
|
string |
|
away message string |
|
|
| |
|
|
|
00 05 |
|
word |
|
TLV.Type(0x05) - user capabilities |
xx xx |
|
word |
|
TLV.Length |
|
|
|
| |
|
|
|
|