NAME
Telegram::Bot::Object::InlineQuery - The base class for Telegram 'Invoice' type objects
VERSION
version 0.027
DESCRIPTION
See https://core.telegram.org/bots/api#inlinequery for details of the attributes available for Telegram::Bot::Object::InlineQuery objects.
METHODS
A convenience method to reply to an inline query with an array of Perl objects.
Takes two arguments:
$results
-
An optional array reference of results. Defaults to the empty array ref. See https://core.telegram.org/bots/api#inlinequeryresult.
$args
-
An optional hash references of optional arguments.
cache_time
-
The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300 if not present.
is_personal
-
Pass True if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query.
next_offset
-
Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you don't support pagination. Offset length can't exceed 64 bytes.
-
A JSON-serialized object describing a button to be shown above inline query results
Will return true.
AUTHORS
Justin Hawkins <justin@eatmorecode.com>
James Green <jkg@earth.li>
Julien Fiegehenn <simbabque@cpan.org>
Jess Robinson <jrobinson@cpan.org>
Albert Cester <albert.cester@web.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by James Green.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 104:
You forgot a '=back' before '=head1'
You forgot a '=back' before '=head1'
You forgot a '=back' before '=head1'
You forgot a '=back' before '=head1'