Telebot::Task::UpdateField - Minion job for processing part of update.
use Telebot::Task::UpdateField; $app->minion->add_task(message => 'Telebot::Task::UpdateField'); $app->minion->enqueue(message => [$payload, $update_id]);
Telebot::Task::UpdateField is the task for processing part of incoming telegram update. This task is setup in app for all allowed updates.
Telebot::Task::UpdateField inherits all attributes from Minion::Job.
Telebot::Task::UpdateField inherits all methods from Minion::Job.
$job->run($payload, $update_id);
This is overloaded method which determine what part of update must be processed, creates instance of corresponding field handler and call handler's run with payload and update_id.
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.
https://github.com/igorlobanov/telebot, Mojolicious::Guides, https://mojolicious.org, https://core.telegram.org/bots/api.
To install Telebot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Telebot
CPAN shell
perl -MCPAN -e shell install Telebot
For more information on module installation, please visit the detailed CPAN module installation guide.