NAME
Telebot::Controller::Tg - Controller for telegram webhook processing.
SYNOPSIS
use Telebot::Controller::Tg;
my $app = Telebot::Controller::Tg->new;
DESCRIPTION
Telebot::Controller::Tg is controller for processing incoming webhook requests.
ATTRIBUTES
Telebot::Controller::Tg inherits all attributes from Mojolicious::Controller.
METHODS
Telebot::Controller::Tg inherits all methods from Mojolicious::Controller and implements the following new ones.
index
$app->index;
Root page.
update
$app->update;
Process incoming webhook.
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.