upload_sticker_file#
-
template<class Connector>
api_result<file_t, Connector&&> upload_sticker_file(Connector &&connector, upload_sticker_file_args_t args)#
-
template<class Connector>
api_result<file_t, Connector&&> call(Connector &&connector, upload_sticker_file_args_t args)# connector
is any object satisfying connector concept.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.
-
struct upload_sticker_file_args_t#
Arguments that should be passed to
upload_sticker_file()
.User identifier of sticker file owner
-
input_file_t png_sticker#
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 »
-
input_file_t png_sticker#