onEvent method

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

A method that sets the app event handler. Check the list of available events.

All events mapped to events of TelegramEvent WARNING: call offEvent method to unregister callback

Implementation

@override
void onEvent(TelegramEvent event) {}