Net-API-Telegram
view release on metacpan or search on metacpan
Short name of sticker set, to be used in t.me/addstickers/
URLs (e.g., animals). Can contain only english letters,
digits and underscores. Must begin with a letter, can't
contain consecutive underscores and must end in â_by_<bot
username>â. <bot_username> is case insensitive. 1-64
characters.
*png_sticker*
This parameter type is one of the following InputFile or
String and is required. Png image with the sticker, must be
up to 512 kilobytes in size, dimensions must not exceed
512px, and either width or height must be exactly 512px.
Pass a file_id as a String to send a file that already
exists on the Telegram servers, pass an HTTP URL as a String
for Telegram to get a file from the Internet, or upload a
new one using multipart/form-data. More info on Sending
Files »
*title* This parameter type is String and is required.
Use this method to upload a .png file with a sticker for later use
in createNewStickerSet and addStickerToSet methods (can be used
multiple times). Returns the uploaded File on success.
Reference: <https://core.telegram.org/bots/api#uploadstickerfile>
This methods takes the following parameters:
*png_sticker*
This parameter type is an object
Net::API::Telegram::InputFile and is required. Png image
with the sticker, must be up to 512 kilobytes in size,
dimensions must not exceed 512px, and either width or height
must be exactly 512px. More info on Sending Files »
*user_id*
This parameter type is Integer and is required.
User identifier of sticker file owner
COPYRIGHT
lib/Net/API/Telegram.pm view on Meta::CPAN
=item I<name>
This parameter type is String and is required.
Short name of sticker set, to be used in t.me/addstickers/ URLs (e.g., animals). Can contain only english letters, digits and underscores. Must begin with a letter, can't contain consecutive underscores and must end in â_by_<bot username>â. <bot_...
=item I<png_sticker>
This parameter type is one of the following L<InputFile> or String and is required.
Png image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP U...
=item I<title>
This parameter type is String and is required.
Sticker set title, 1-64 characters
=item I<user_id>
This parameter type is Integer and is required.
lib/Net/API/Telegram.pm view on Meta::CPAN
Reference: L<https://core.telegram.org/bots/api#uploadstickerfile>
This methods takes the following parameters:
=over 8
=item I<png_sticker>
This parameter type is an object L<Net::API::Telegram::InputFile> and is required.
Png image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. More info on Sending Files »
=item I<user_id>
This parameter type is Integer and is required.
User identifier of sticker file owner
=back
=back
( run in 0.353 second using v1.01-cache-2.11-cpan-0a6323c29d9 )