addStickerToSet

inline fun addStickerToSet(userId: Long, name: String, input: InputSticker): AddStickerToSetAction

Use this method to add a new sticker to a set created by the bot. Emoji sticker sets can have up to 200 stickers. Other sticker sets can have up to 120 stickers. Returns True on success.

Api reference

Parameters

userId

User identifier of sticker set owner

name

Sticker set name

sticker

A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set isn't changed.


inline fun addStickerToSet(userId: Long, name: String, input: () -> InputSticker): AddStickerToSetAction