IPWorks MQ 2020 Python Edition

Questions / Feedback?

on_buddy_update Event

This event is fired whenever a roster entry is updated.

Syntax

class XMPPBuddyUpdateEventParams(object):
  @property
  def buddy_idx() -> int: ...

# In class XMPP:
@property
def on_buddy_update() -> Callable[[XMPPBuddyUpdateEventParams], None]: ...
@on_buddy_update.setter
def on_buddy_update(event_hook: Callable[[XMPPBuddyUpdateEventParams], None]) -> None: ...

Remarks

The on_buddy_update event will fire whenever a new buddy list entry is added or an old entry is updated. The updated information can be retrieved through the buddies properties property. The BuddyIdx parameter of this event will be the index of that xmppbuddy in the properties.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 Python Edition - Version 20.0 [Build 8155]