offEvent method

  1. @override
void offEvent(
  1. TelegramEvent event
)
override

A method that deletes a previously set event handler.

Implementation

@override
void offEvent(TelegramEvent event) => Telegram.WebApp.offEvent(event.eventType.eventName, event.eventHandler);