Current section
Files
Jump to
Current section
Files
include/telega@router_CustomRoute.hrl
-record(custom_route, {
matcher :: fun((telega@update:update()) -> boolean()),
handler :: fun((telega@bot:context(any(), any(), any()), telega@update:update()) -> {ok,
telega@bot:context(any(), any(), any())} |
{error, any()})
}).