get_listener_matching_with_data()

Client.get_listener_matching_with_data()

Gets a listener that matches the given data.

Usable by Users Bots
Parameters:
  • data (Identifier) – The Identifier to match agains.

  • listener_type (ListenerTypes) – The type of listener to get.

Returns:

Listener – On success, a Listener is returned.