Open talk2cerlin opened 7 years ago
I can open a PR for this. Should it run when the user manually closes the message, or also when the message automatically closes itself after the timeout? I'd prefer the latter for my use case. Maybe there's an elegant way to provide an option.
Maybe pass an enum parameter to the closure that says why it was called? Closed manually, or timed out.
Errr, now that I think about it, the completion handler for being closed manually is already there...DropAction.
Edit: Sort of..not for swiping. :P
Does this plugin has a completion handler?
I want to run a callback method on closing of the message