This PR attempts to infer the base streaming URL from the instance information instead of needing to manually provide it separately. It does this by calling get_instance() and retrieving the streaming_api URL if available, otherwise it will use the base_url of the client.
This is obviously a breaking change, since the function signatures for all the streaming functions have all become async and the streaming_url parameter is removed.
This PR attempts to infer the base streaming URL from the instance information instead of needing to manually provide it separately. It does this by calling
get_instance()
and retrieving thestreaming_api
URL if available, otherwise it will use thebase_url
of the client.This is obviously a breaking change, since the function signatures for all the streaming functions have all become
async
and thestreaming_url
parameter is removed.