UDP API Definition: Difference between revisions

Jump to navigation Jump to search
Line 263: Line 263:


   272 {int4 notify_packet_id} NOTIFICATION
   272 {int4 notify_packet_id} NOTIFICATION
   {int2 type}|{int4 date}|{int4 senderuid}|{str sendername}|{str subject}
   {int2 type}|{int4 date}|{int4 senderuid}|{str sendername}|{str subject}|{str body}|{int mid}


* type is the type of the message (0=normal msg, 1=annonymous, 2=system msg, 3=mod msg)
* type is the type of the message (0=normal msg, 1=annonymous, 2=system msg, 3=mod msg)
Line 269: Line 269:
* senderuid/sendername are the user id and username of the sender
* senderuid/sendername are the user id and username of the sender
* subject is the message subject
* subject is the message subject
* body is message body (can be truncated)
* mid is message id and can be used with NOTIFYACK


'''Buddy Event Notify:'''
'''Buddy Event Notify:'''