/// <summary> /// Adds a new sticker to a set; for bots only. Returns the sticker set /// </summary> public static Task <StickerSet> AddStickerToSetAsync( this Client client, int userId = default, string name = default, InputSticker sticker = default) { return(client.ExecuteAsync(new AddStickerToSet { UserId = userId, Name = name, Sticker = sticker })); }
/// <summary> /// Uploads a PNG image with a sticker; returns the uploaded file /// </summary> public static Task <File> UploadStickerFileAsync( this Client client, long userId = default, InputSticker sticker = default) { return(client.ExecuteAsync(new UploadStickerFile { UserId = userId, Sticker = sticker })); }