CreateNewStickerSetRequest

data class CreateNewStickerSetRequest(user_id: Long, name: String, title: String, png_sticker: String?, tgs_sticker: Any?, emojis: String, contains_masks: Boolean?, mask_position: MaskPosition?) : TelegramRequest

Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker or tgs_sticker. Returns True on success.

Constructors

CreateNewStickerSetRequest
Link copied to clipboard
fun CreateNewStickerSetRequest(user_id: Long, name: String, title: String, png_sticker: String? = null, tgs_sticker: Any? = null, emojis: String, contains_masks: Boolean? = null, mask_position: MaskPosition? = null)

Properties

contains_masks
Link copied to clipboard
val contains_masks: Boolean? = null
Pass True, if a set of mask stickers should be created
emojis
Link copied to clipboard
val emojis: String
One or more emoji corresponding to the sticker
mask_position
Link copied to clipboard
val mask_position: MaskPosition? = null
A JSON-serialized object for position where the mask should be placed on faces
name
Link copied to clipboard
val name: String
Short name of sticker set, to be used in t.
png_sticker
Link copied to clipboard
val png_sticker: String? = null
PNG image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px.
tgs_sticker
Link copied to clipboard
val tgs_sticker: Any? = null
TGS animation with the sticker, uploaded using multipart/form-data.
title
Link copied to clipboard
val title: String
Sticker set title, 1-64 characters
user_id
Link copied to clipboard
val user_id: Long
User identifier of created sticker set owner