PhotoSize

fun PhotoSize(fileId: String, fileUniqueId: String, width: Int, height: Int, fileSize: Int? = null)

Parameters

fileId

Identifier for this file, which can be used to download or reuse the file

fileUniqueId

Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

width

Photo width

height

Photo height

fileSize

Optional. File size