com.pengrad.telegrambot.request.ReplaceStickerInSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-telegram-bot-api Show documentation
Show all versions of java-telegram-bot-api Show documentation
Java API for Telegram Bot API
package com.pengrad.telegrambot.request;
import com.pengrad.telegrambot.model.request.InputSticker;
import com.pengrad.telegrambot.response.BaseResponse;
public class ReplaceStickerInSet extends BaseRequest {
public ReplaceStickerInSet(Long userId, String name, String oldSticker, InputSticker sticker) {
super(BaseResponse.class);
add("user_id", userId);
add("name", name);
add("old_sticker", oldSticker);
add("sticker", sticker);
}
}