Home Submitter: laurel@sdf.lonestar.org Edit

CLI_DELETEBUDDY

Channel: 2SNAC(19,10)

Delete a buddy from your contact list. The data for this SNAC is in the same group format as descripted in SRV_REPLYROSTER. The content of this packet is almost identical to CLI_ADDBUDDY.

Parameters

Data type Content Name Description
WORD xx xx STRLEN Length of the following UIN in ASCII format.
DATA ... UIN This is the contact's uin in ASCII format.
WORD xx xx TAG This is the Tag ID of the group in the contact list that this contact was a member of.
WORD xx xx ID This is the specific, random, ID that was generated for this contact (and sent in a previous CLI_ADDBUDDY).
WORD xx xx TYPE This field seems to indicate what type of group this is. Seen:
0x0000 - A normal contact list entry
0x0001 - A Larger Group header
0x0004 - Unknown
0x000E - A contact on the Ignore List
0x0013 - This group's TLV contains the time(NULL) import time
WORD xx xx BYTELEN If BYTELEN is 0 this is not present, otherwise, A number of TLVs will follow BYTELEN. Seen: TLV(00C8) - Sent only with the Group header, this is a list of all IDs in this group TLV(00CA) - Unknown TLV(00D4) - Contains the 'Import Time' time(NULL) TLV(0131) - Nickname of a UIN TLV(013A) - Locally assigned SMS number of a UIN TLV(0066) - This UIN is still awaiting authorization

Examples

2a 02 1a b1 00 26                 FLAP Channel 2, Seq 0x1ab1, Length 0x26
   00 13 00 0a 00 00 00 04 00 0a     SNAC 0x13/0x0a Ref 0x0004000a, Flags 0
      00 08                             Length of UIN:
         31 33 34 31 37 30 34 33           UIN: '13417043'
      7d 83                             Tag, Group this contact was a member of
      07 b9                             ID of contact
      00 00                             Type: normal contact list entry
      00 0a                             Count, 0xa bytes follow
         01 31 00 06 4b 61 6c 61 6e 61  TLV(0x131/Nickname) = 'Kalana'


HomeEdit