upload_sticker_file¶
- 
template<class Agent>
api_result<file_t, Agent&&> upload_sticker_file(Agent &&agent, upload_sticker_file_args_t args)¶ 
- 
template<class Agent, class F>
void upload_sticker_file(Agent &&agent, upload_sticker_file_args_t args, F &&callback)¶ agentis any object satisfying agent concept.callbackis any callable object acceptingexpected<file_t>.Use this method to upload a file with a sticker for later use in the createNewStickerSet, addStickerToSet, or replaceStickerInSet methods (the file 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 sticker¶
 
A file with the sticker in .WEBP, .PNG, .TGS, or .WEBM format. See https://core.telegram.org/stickers for technical requirements. More information on Sending Files »
Format of the sticker, must be one of “static”, “animated”, “video”
- 
input_file_t sticker¶