SetStickerSetThumbRequest

data class SetStickerSetThumbRequest(name: String, userId: Int, thumb: String?)

Request body for setStickerSetThumb

Parameters

name

Sticker set name

userId

User identifier of the sticker set owner

thumb

A PNG image with the thumbnail, must be up to 128 kilobytes in size and have width and height exactly 100px, or a TGS animation with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/animated_stickers#technical-requirements for animated sticker technical requirements. Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More info on Sending Files ». Animated sticker set thumbnail can't be uploaded via HTTP URL.

Constructors

SetStickerSetThumbRequest
Link copied to clipboard
common
fun SetStickerSetThumbRequest(name: String, userId: Int, thumb: String? = null)
Sticker set name

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component2
Link copied to clipboard
common
operator fun component2(): Int
component3
Link copied to clipboard
common
operator fun component3(): String?
copy
Link copied to clipboard
common
fun copy(name: String, userId: Int, thumb: String? = null): SetStickerSetThumbRequest
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

name
Link copied to clipboard
common
val name: String
Sticker set name
thumb
Link copied to clipboard
common
val thumb: String? = null
A PNG image with the thumbnail, must be up to 128 kilobytes in size and have width and height exactly 100px, or a TGS animation with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/animated_stickers#technical-requirements for animated sticker technical requirements.
userId
Link copied to clipboard
common
val userId: Int
User identifier of the sticker set owner