UploadStickerFileRequest

data class UploadStickerFileRequest(userId: Int, pngSticker: String)

Request body for uploadStickerFile

Parameters

userId

User identifier of sticker file owner

pngSticker

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. More info on Sending Files »

Constructors

UploadStickerFileRequest
Link copied to clipboard
common
fun UploadStickerFileRequest(userId: Int, pngSticker: String)
User identifier of sticker file owner

Functions

component1
Link copied to clipboard
common
operator fun component1(): Int
component2
Link copied to clipboard
common
operator fun component2(): String
copy
Link copied to clipboard
common
fun copy(userId: Int, pngSticker: String): UploadStickerFileRequest
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

pngSticker
Link copied to clipboard
common
val pngSticker: String
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.
userId
Link copied to clipboard
common
val userId: Int
User identifier of sticker file owner