Current section

Files

Jump to
telega include telega@router_TextPatternRoute.hrl
Raw

include/telega@router_TextPatternRoute.hrl

-record(text_pattern_route, {
pattern :: telega@router:pattern(),
handler :: fun((telega@bot:context(any(), any()), binary()) -> {ok,
telega@bot:context(any(), any())} |
{error, any()})
}).