All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pengrad.telegrambot.request.SetCustomEmojiStickerSetThumbnail Maven / Gradle / Ivy

There is a newer version: 7.11.0
Show newest version
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