Home Submitter: tadu@gmx.de Edit

CLI_SENDMSG

Channel: 2SNAC(4,6)

Send a message.

Parameters

Data type Content Name Description
8 xx xx xx xx xx xx xx xx MID The message ID.
WORD xx xx FORMAT The message format this message is in.
1 - text messages
2 - special messages
4 - url etc messages
BUIN xx .. UIN The UIN to sent the message to.
TLV(2) 00 02 xx xx ... MESSAGE1 The message to send; only present for type 1.
    TLV(1281) 05 01 00 01 01 UNKNOWN Unknown: 0x1 = 1.
    TLV(257) 01 01 xx xx ... MESSAGE This TLV encapsulates the message.
        DWORD 00 00 00 00 UNKNOWN Unknown: empty. vICQ uses 00 00 ff ff.
        STR ... MESSAGE Finally, the message to send.
TLV(5) 00 05 xx xx ... MESSAGE4 The message to send for type 4.
    WORD.L xx xx xx xx UIN My UIN.
    BYTE xx TYPE The message type as in the old protocol.
    BYTE xx FLAGS Unknown flags; possibly the message flags.
    LNTS xx xx ... MESSAGE Finally the message to send.
TLV(5) 00 05 xx xx ... MESSAGE2 The message to send for type 2. See SRV_RECVMSG for details.
TLV(6) 00 06 00 00 UNKNOWN Always present empty TLV.

Examples

0000  2a 02 ?? ?? 00 73 00 04  00 06 ?? ?? ?? ?? ?? ??   *.O³..*. h6.]....
0010  00 00 00 00 00 b9 00 00  00 00 00 00 00 00 00 01   .....¹.. ........
0020  07 34 37 32 30 32 38 35  00 02 00 39 05 01 00 01   .4720285 ...9....
0030  01 01 01 00 30 00 00 00  00 48 6d 6d 6d 2e 2e 2e   ....0... .Hmmm...
0040  2e 20 73 74 69 6d 6d 74  2e 20 45 72 20 73 63 68   . stimmt . Er sch
0050  69 63 6b 74 20 65 69 6e  65 6e 20 53 4e 41 43 28   ickt ein en SNAC(
0060  34 2c 36 29 2e 00 06 00  00                        4,6).... .       


HomeEdit