CLI_AUTHORIZE Channel: 2 SNAC(13,1A) Grant another user's request for authorization (in response to SRV_AUTHORIZATION_REQUEST). Parameters Length/TLV Content (If Fixed) Designations Description 1 xx STRLEN Length of the following UIN. Varies xx .. UIN UIN in ASCII format of the user we want to authorize. 1 xx AUTHORIZE Decline or authorize the buddy add request: 00 - Decline 01 - Authorize 2 xx xx STRLEN Length of the following reason (always 0 for authorize) Varies .. REASON Reason for declining authorization as ASCII string. 2 00 00 UNKNOWN Unknown -------------------------------------------------------------------------------- Decline with reason: 2a 02 1b 03 00 1f FLAP: Channel 2, Seq 0x1b03, Len 0x1f 00 13 00 1a 00 00 00 00 00 1a SNAC: 0x13/0x1a, Ref 0x0000001a, Flags 0 09 Length of uin: 31 35 38 30 33 39 35 37 39 uin == '158039579' 00 Decline authorization 00 06 Length of reason: 72 65 61 73 6f 6e reason == 'reason' 00 00 Authorize: 2a 02 1b 01 00 19 FLAP: Channel 2, Seq 0x1b01, Len 0x19 00 13 00 1a 00 00 00 00 00 1a SNAC: 0x13/0x1a, Ref 0x0000001a, Flags 0 09 Length of uin: 31 35 38 30 33 39 35 37 39 uin == '158039579' 01 Authorize 00 00 Length of reason 00 00