SNAC(04,07)  SRV_CLIENT_ICBM 

You'll receive this snac when another client send you a message thru server. Within the ICBM (Inter-Client Basic Message) types, a channel is defined. Each channel represents a different kind of message.

Channel 1 is used for simple plain text messages. Channel 2 is used for complex messages (rtf, utf8) and negotiating "rendezvous". These transactions end in something more complex happening, such as a chat invitation, or a file transfer. Channel 4 is used for various ICQ messages. Examples are normal messages, URLs, and old-style authorization.

This snac contain one fixed part (sender uin, channel, msg-id cookie, sender info) and channel-dependend tlv-chain with message data. 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
 xx xx   word   message channel (see table below)
 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) - online time
 00 04   word   TLV.Length
 xx xx xx xx   dword   client online time
 00 03   word   TLV.Type(0x03) - account creation time
 00 04   word   TLV.Length
 xx xx xx xx   dword   user account creation time

 xx xx   word   TLV.Type(0xXX) - icbm data
 xx xx   word   TLV.Length
 ....   ....   ....
  ....  .... ....
 xx xx   word   TLV.Type(0xXX) - icbm data
 xx xx   word   TLV.Length
 ....   ....   ....

 Channel 1    Channel 1 message format (plain-text messages)
 Channel 2    Channel 2 message format (rtf messages, rendezvous)
 Channel 4    Channel 4 message format (typed old-style messages)

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