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
userIdSticker file owner
pngStickerPNG image with the sticker; must be up to 512 kB in size and fit in 512x512 square
View on GitHub
Install in Dash
UploadStickerFile Structure Reference