|  Developer
Updated on November 23, 2021

set_subscription_filters(subscriber_id, filter_rules)

Edit
  • subscriber_id: string
  • filter_rules: table (array)
Edit
  • nil
Edit
				
					local twogig = require "2gig"

twogig.subscribe("HUB:2gig/scripts/events_handling")
twogig.set_subscription_filters("HUB:2gig/scripts/events_handling", { { event = "node_added" } } )