SNAC(03,04)  CLI_BUDDYLIST_ADD  

Use this this to add new buddies to your client-side contact list. You can delete buddies from contact using SNAC(03,05). See also complete snac list for this service here.

 00 03   word   SNAC family
 00 04   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 xx   byte   buddy id #1 strlen
 xx ..   string   buddy id #1 string
 ...    ...    ...
 xx   byte   buddy id #n strlen
 xx ..   string   buddy id #n string

Example SNAC dump with flap header:

  2A 02 62 79 00 48 00 03  00 04 00 00 00 00 00 04 *.by.H..........
  07 31 30 30 30 30 30 30  04 31 30 30 31 07 36 32 .1000000.1001.62
  31 38 38 39 37 07 36 32  31 38 38 39 38 07 36 32 18897.6218898.62
  31 38 38 39 39 07 36 32  31 38 39 30 30 08 31 30 18899.6218900.10
  30 30 30 30 30 31 07 36  32 31 38 38 39 35       000001.6218895


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