The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use Mojo::Base 'Telebot::Handler', -signatures;
1;
=pod
=encoding utf8
=head1 NAME
Telebot::Handler::EditedChannelPost - Base class for telegram update part edited_channel_post handler
=head1 SYNOPSIS
use Telebot::Handler::EditedChannelPost;
my $handler = Telebot::Handler::EditedChannelPost->new(
app => $app,
payload => {
message_id => 777,
from => {
id => 999,
is_bot => \0,
first_name => 'Vladimir',
last_name => 'Lenin',
},
date => 1642266220,
chat => {
id => 444,
type => 'channel',
title => 'XXVII',
},
},
update_id => 555,
);
$handler->run();
=head1 DESCRIPTION
L<Telebot::Handler::EditedChannelPost> is the base and default class for edited_channel_post handler.
You can create your own handler in B<Handler/EditedChannelPost.pm>
=head1 ATTRIBUTES
L<Telebot::Handler::EditedChannelPost> inherits all attributes from L<Telebot::Handler>.
=head1 METHODS
L<Telebot::Handler::EditedChannelPost> inherits all methods from L<Telebot::Handler>.
=head2 run
$handler->run;
This method is overloaded in inheritted classes and called for processing telegram update edited_channel_post.
If not overloaded it dumps edited_channel_post.
=head1 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.
=head1 SEE ALSO
=cut