Discussion
How to use TimeSpan in webhook filters?
over 7 years ago by Payman
I'm using webhooks to integrate with slack and I'd like to filter out those calls that are made in quick succession in order to reduce noise.
I though I could achieve this by comparing previous modification date and current modification date and if the difference is shorter than 5 minutes I'd filter those calls out.
But I cannot find documentation around TimeSpan in webhooks. I was wondering if there is a way to add a filter like this?
ModifyDate - Previous.ModifyDate > TimeSpan.Minutes(5)