SNAC(15,03)/0041  SRV_OFFLINE_MESSAGE  

This is the server response to cli_offline_msgs_req SNAC(15,02)/003C. This snac contain single offline message that was sent by another user and buffered by server when client was offline.

 00 15   word   SNAC family
 00 03   word   SNAC subtype
 00 01   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(1) - encapsulated META_DATA
 xx xx   word   TLV.Length
 xx xx   word (LE)   data chunk size (TLV.Length-2)
 xx xx xx xx   dword (LE)   msg target uin
 41 00   word (LE)   data type: offline messge
 02 00   word (LE)   request sequence number
 
 xx xx xx xx   dword (LE)   message sender uin
 xx xx   word (LE)   year when message was sent
 xx   char   month when message was sent
 xx   char   day when message was sent
 xx   char   hour (GMT) when message was sent
 xx   char   minute when message was sent
 xx   char   message type
 xx   char   message flags
 xx xx   char   message string length
 xx .. xx xx 00   char   message string (asciiz)

Example SNAC dump with flap header:

  2A 02 CB 57 00 82 00 15 00 03 00 01 00 01 00 02 *..W............
  00 01 00 74 72 00 8F E4 5E 00 41 00 02 00 E9 03 ...tr...^.A.....
  00 00 D2 07 0C 0C 06 1D 01 00 5C 00 74 65 73 74 ..........\.test
  20 70 6C 61 69 6E 74 65 78 74 20 6F 66 66 6C 69 plaintext offli
  6E 65 20 6D 65 73 73 61 67 65 20 66 72 6F 6D 20 ne message from 
  0D 0A 75 69 6E 31 30 30 31 20 74 6F 20 75 69 6E ..uin1001 to uin
  20 36 32 31 38 38 39 35 0D 0A 74 6F 64 61 79 3A 6218895..today:
  20 31 32 2E 31 32 2E 32 30 30 32 20 30 36 3A 32 12.12.2002 06:2
  38 20 47 4D 54 0D 0A 00                         8.GMT...


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