UploadStickerFile
public struct UploadStickerFile : Codable, Equatable, TDFunction
Uploads a PNG image with a sticker; for bots only; returns the uploaded file
-
Undocumented
Declaration
Swift
public typealias Result = File
-
Sticker file owner
Declaration
Swift
public let userId: Int32
-
PNG image with the sticker; must be up to 512 kB in size and fit in 512x512 square
Declaration
Swift
public let pngSticker: InputFile
-
Uploads a PNG image with a sticker; for bots only; returns the uploaded file
Declaration
Swift
public init(userId: Int32, pngSticker: InputFile)
Parameters
userId
Sticker file owner
pngSticker
PNG image with the sticker; must be up to 512 kB in size and fit in 512x512 square