From 7a13821e51a36a1c1fa950b1cf6e6525c6818485 Mon Sep 17 00:00:00 2001 From: Ruben Bermudez Date: Sun, 1 Apr 2018 19:28:40 +0200 Subject: [PATCH] Closes #413 --- .../telegrambots/api/methods/stickers/UploadStickerFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegrambots-meta/src/main/java/org/telegram/telegrambots/api/methods/stickers/UploadStickerFile.java b/telegrambots-meta/src/main/java/org/telegram/telegrambots/api/methods/stickers/UploadStickerFile.java index a4196a46..b7363609 100644 --- a/telegrambots-meta/src/main/java/org/telegram/telegrambots/api/methods/stickers/UploadStickerFile.java +++ b/telegrambots-meta/src/main/java/org/telegram/telegrambots/api/methods/stickers/UploadStickerFile.java @@ -21,7 +21,7 @@ import static com.google.common.base.Preconditions.checkNotNull; public class UploadStickerFile extends PartialBotApiMethod { public static final String PATH = "uploadStickerFile"; - public static final String USERID_FIELD = "name"; + public static final String USERID_FIELD = "user_id"; public static final String PNGSTICKER_FIELD = "png_sticker"; private Integer userId; ///< User identifier of sticker file owner