546
edits
Epoximator (talk | contribs) (→Buddy Commands: notify) |
|||
Line 88: | Line 88: | ||
* bit 2 = udp api online (user is currently connected to the udp api server) | * bit 2 = udp api online (user is currently connected to the udp api server) | ||
* example: 0=offline, 1=http online, 2=udp api online, 3=http&udp api online | * example: 0=offline, 1=http online, 2=udp api online, 3=http&udp api online | ||
=== [[UDP_API_Definition#PUSH:_UDP_Notification_Registration|PUSH]] : extend === | |||
'''Command String:''' | |||
* PUSH notify={bool push_file_added_notifications}&msg={bool push_msg_added_notifications}'''[&buddy={bool push_buddy_event_notifications}]''' | |||
'''Notification Packet Format:''' | |||
* Buddy Event Notify: | |||
273 {int4 notify_packet_id} NOTIFICATION | |||
{int4 buddy uid}|{int2 event type} | |||
:* Possible event types: | |||
0 => LOGIN | |||
1 => LOGOUT | |||
2 => ACCEPTED | |||
3 => ADD (?) | |||
== Misc Commands == | == Misc Commands == |
edits