SNAC(15,02)/003C  CLI_OFFLINE_MESSAGE_REQ  

Client sends this SNAC when wants to retrieve messages that was sent by another user and buffered by server during client was offline. Server should respond with 0 or more SNAC(15,03)/0041 packets with SNAC bit1=1 and after that it should send last SNAC(15,03)/0042.

Warn: Server doesn't delete messages from database and will send them again. You should ask it to delete them by SNAC(15,02)/003E

 00 15   word   SNAC family
 00 02   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(1) - encapsulated META_DATA
 00 0A   word   TLV.Length
 08 00   word (LE)   data chunk size (TLV.Length-2)
 xx xx xx xx   dword (LE)   client uin
 3C 00   word (LE)   data type: offline message request cmd
 xx xx   word (LE)   request sequence number

Example SNAC dump with flap header:

  2A 02 5A CF 00 18 00 15 00 02 00 00 00 01 00 02 *.Z.............
  00 01 00 0A 08 00 8F E4 5E 00 3C 00 02 00       ........^.....


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