get_many_listeners_matching_with_identifier_pattern()

Client.get_many_listeners_matching_with_identifier_pattern()

Gets multiple listener that matches the given identifier pattern.

Usable by Users Bots

The difference from get_listener_matching_with_data() is that this method intends to get a listener by passing partial info of the listener identifier, while the other method intends to get a listener by passing the full info of the update data, which the listener should match with.

Parameters:
  • pattern (Identifier) – The Identifier to match agains.

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

Returns:

List of Listener – On success, a list of Listener is returned.