2/5 Lift up error to caller in Teapot lib, introduce can_talk() in Brain.pm

This commit is contained in:
eleksir
2023-01-02 19:06:02 +03:00
parent 3668620bd8
commit 1f3675de8f
48 changed files with 744 additions and 448 deletions

View File

@@ -10,7 +10,7 @@ use Mojo::Base 'Teapot::Bot::Object::Base';
use Teapot::Bot::Object::LoginUrl ();
use Teapot::Bot::Object::CallbackGame ();
$Teapot::Bot::Object::InlineKeyboardButton::VERSION = '0.024';
$Teapot::Bot::Object::InlineKeyboardButton::VERSION = '0.025';
has 'text';
has 'url';
@@ -43,7 +43,7 @@ Teapot::Bot::Object::InlineKeyboardButton - The base class for Telegram 'InlineK
=head1 VERSION
version 0.024
version 0.025
=head1 DESCRIPTION
The base class for Telegram 'InlineKeyboardButton' type objects.