Some more work on sendChatAction()
* Fix return value * Add POD inline for this method
This commit is contained in:
@@ -219,7 +219,7 @@ sub sendChatAction {
|
|||||||
my $url = "https://api.telegram.org/bot${token}/sendChatAction";
|
my $url = "https://api.telegram.org/bot${token}/sendChatAction";
|
||||||
my $api_response = $self->_post_request ($url, $send_args);
|
my $api_response = $self->_post_request ($url, $send_args);
|
||||||
|
|
||||||
return Telegram::Bot::Object::User->create_from_hash($api_response, $self);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -407,6 +407,11 @@ See L<https://core.telegram.org/bots/api#sendphoto>.
|
|||||||
|
|
||||||
Returns a L<Teapot::Bot::Object::Message> object.
|
Returns a L<Teapot::Bot::Object::Message> object.
|
||||||
|
|
||||||
|
=head2 sendChatAction
|
||||||
|
See L<https://core.telegram.org/bots/api#sendchataction>.
|
||||||
|
|
||||||
|
Returns nothing, it's send-only method (Telegram API returns true on success)
|
||||||
|
|
||||||
=head1 SEE ALSO
|
=head1 SEE ALSO
|
||||||
|
|
||||||
=over 4
|
=over 4
|
||||||
|
|||||||
Reference in New Issue
Block a user