Update Teapot lib to comply with api v5.6, v5.7, v6.0
This commit is contained in:
53
lib/Teapot/Bot/Object/VideoChatScheduled.pm
Normal file
53
lib/Teapot/Bot/Object/VideoChatScheduled.pm
Normal file
@@ -0,0 +1,53 @@
|
||||
package Teapot::Bot::Object::VideoChatScheduled;
|
||||
# ABSTRACT: The base class for Telegram message 'VoiceChatEnded' type.
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use 5.018; ## no critic (ProhibitImplicitImport)
|
||||
use utf8;
|
||||
|
||||
use Mojo::Base 'Teapot::Bot::Object::Base';
|
||||
|
||||
$Teapot::Bot::Object::VideoChatScheduled::VERSION = '0.023';
|
||||
|
||||
# This object represents a service message about a video chat started in the chat. Currently holds no information.
|
||||
has 'start_date';
|
||||
|
||||
sub fields {
|
||||
return { scalar => [qw/start_date/] };
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
||||
|
||||
=pod
|
||||
|
||||
=encoding utf8
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Teapot::Bot::Object::VideoChatScheduled - The base class for Telegram message 'VideoChatScheduled' type
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
version 0.023
|
||||
|
||||
=head1 DESCRIPTION
|
||||
The base class for Telegram message 'VideoChatScheduled' type.
|
||||
|
||||
See L<https://core.telegram.org/bots/api#Videochatscheduled> for details of the
|
||||
attributes available for C<Teapot::Bot::Object::VideoChatScheduled> objects.
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
Sergei Fedosov <eleksir@gmail.com>
|
||||
|
||||
=head1 LICENSE AND COPYRIGHT
|
||||
|
||||
This software is copyright (c) 2022 by Sergei Fedosov <eleksir@gmail.com>.
|
||||
|
||||
This is free software; you can redistribute it and/or modify it under
|
||||
the same terms as the Perl 5 programming language system itself.
|
||||
|
||||
=cut
|
||||
Reference in New Issue
Block a user