NAME
Telebot::Plugin::Utils - Useful helpers
SYNOPSIS
# Records dump into log.
$app->dump('Foo', {bar => 'foo'}, ['foo', 'bar']);
DESCRIPTION
Telebot::Plugin::Utils - plugin with some useful helpers.
HELPERS
Telebot::Plugin::Utils implements the following helpers.
dump
Dumps into log arguments with Data::Dumper.
METHODS
Telebot::Plugin::Utils inherits all methods from Mojolicious::Plugin and implements the following new ones.
register
my $tg = $plugin->register(Mojolicious->new);
Register plugin in Mojolicious application and define helpers.
COPYRIGHT AND LICENSE
Copyright (C) 2022, Igor Lobanov. This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
SEE ALSO
https://github.com/igorlobanov/telebot, Mojolicious::Guides, https://mojolicious.org, https://core.telegram.org/bots/api.