com.pengrad.telegrambot.request.SetStickerKeywords 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 SetStickerKeywords extends BaseRequest {
/**
*
* @param sticker File identifier of the sticker
*/
public SetStickerKeywords(String sticker) {
super(BaseResponse.class);
add("sticker", sticker);
}
/**
*
* @param keywords A list of 0-20 search keywords for the sticker with total length of up to 64 characters
* @return
*/
public SetStickerKeywords keywords(String[] keywords) {
add("keywords", keywords);
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy