SNAC(04,07)/CH1  SRV_CLIENT_ICBM_CH1 

This is the message from server that was sent by another client. It contain two parts: fixed part (sender uin, msg-id cookie, channel, sender info) and message data part. See also additional information about online userinfo block.

 00 04   word   SNAC family
 00 07   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 xx xx xx xx
 xx xx xx xx
  qword   msg-id cookie
 00 01   word   message channel
 xx   byte   screenname string length
 xx ..   string   screenname string
 xx xx   word   sender warning level
 00 04   word   number of TLVs in fixed part
 00 01   word   TLV.Type(0x01) - user class
 00 02   word   TLV.Length
 xx xx   word   user class
 00 06   word   TLV.Type(0x06) - user status
 00 04   word   TLV.Length
 xx xx xx xx   dword   user status
 00 0f   word   TLV.Type(0x0f) - user idle time
 00 04   word   TLV.Length
 xx xx xx xx   dword   client idle time
 00 03   word   TLV.Type(0x03) - account creation time
 00 04   word   TLV.Length
 xx xx xx xx   dword   user account creation time
 00 04   word   TLV.Type(0x04) - automated response flag
 00 00   word   TLV.Length
 empty (this TLV appears in automated responses like away messages)

 00 02   word   TLV.Type(0x02) - message data
 xx xx   word   TLV.Length
 05   byte   fragment identifier (array of required capabilities)
 01   byte   fragment version
 xx xx   word   TLV.Length
 xx ..   array   byte array of required capabilities (1 - text)
 01   byte   fragment identifier (message text)
 01   byte   fragment version
 xx xx   word   TLV.Length
 00 00   word   Message charset number
 ff ff   word   Message charset subset
 xx ..   string (ascii)   Message text string

Example SNAC dumps with flap header:

  2a 02 ae e3 00 66 00 04  00 07 00 00 9a b3 8d eb  *....f..........
  3e bc 91 9e 4a ba ef c9  00 01 07 31 30 30 30 30  >...J......10000
  30 30 00 00 00 04 00 01  00 02 00 50 00 06 00 04  00.........P....
  00 01 00 00 00 0f 00 04  00 00 04 66 00 03 00 04  ...........f....
  00 00 00 00 00 02 00 24  05 01 00 01 00 01 01 00  .......$........
  1b 00 00 00 00 74 65 73  74 20 70 6c 61 69 6e 2d  .....test plain-
  74 65 78 74 20 6d 65 73  73 61 67 65              text message


  Main | Basic | Login | Snaclist | Sequences | Misc | Changes | Credits | Terms