If the client is currently connected, the new presence is broadcast immediately.
Returns: aioxmpp. Message message ; override this.
If you need to check the message against multiple filters, put the filters into a filter table and then use the match methods provided by the table. Args: show aioxmpp.
Remarks These methods check one filter against a message. Args: state aioxmpp.
PresenceState which is broadcast when march client connects and when the presence is re-emitted. This attribute cannot be written. Sets the agent availability to True.
This form is mmatch allowed to access the body of the message. If you need to test parts of the message body, use the Match method.
For example when the client is in fact offline, others will see unavailable presence no matter what messag set here. If you only need to test the message headers and not the message body, use the Match method.
Match : System. Evaluates the filter over the specified XPath navigator.
Mwtch Message Tests whether a specified message satisfies the criteria of the XPath filter. For tests that involve XPath queries, use one of the remaining overlo of the Match.
It does not reflect the actual presence seen by others.