com.pengrad.telegrambot.request.SetCustomEmojiStickerSetThumbnail 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.response.BaseResponse;
public class SetCustomEmojiStickerSetThumbnail extends BaseRequest {
public SetCustomEmojiStickerSetThumbnail(String name) {
super(BaseResponse.class);
add("name", name);
}
/**
*
* @param customEmojiId Custom emoji identifier of a sticker from the sticker set; pass an empty string to drop the thumbnail and use the first sticker as the thumbnail.
* @return
*/
public SetCustomEmojiStickerSetThumbnail customEmojiId(String customEmojiId) {
add("custom_emoji_id", customEmojiId);
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy