dataclass-only
/
com.github.omarmiatello.telegram
/
PhotoSize
Photo
Size
data class
PhotoSize
(file_id:
String
, file_unique_id:
String
, width:
Long
, height:
Long
, file_size:
Long
?) :
TelegramModel
Content copied to clipboard
This object represents one size of a photo or a
file
/
sticker
thumbnail.
Constructors
Properties
Constructors
PhotoSize
Link copied to clipboard
fun
PhotoSize
(file_id:
String
, file_unique_id:
String
, width:
Long
, height:
Long
, file_size:
Long
? = null)
Content copied to clipboard
Creates a
PhotoSize
.
Properties
file_id
Link copied to clipboard
val
file_id
:
String
Content copied to clipboard
Identifier for this file, which can be used to download or reuse the file
file_size
Link copied to clipboard
val
file_size
:
Long
? = null
Content copied to clipboard
Optional
.
file_unique_id
Link copied to clipboard
val
file_unique_id
:
String
Content copied to clipboard
Unique identifier for this file, which is supposed to be the same over time and for different bots.
height
Link copied to clipboard
val
height
:
Long
Content copied to clipboard
Photo height
width
Link copied to clipboard
val
width
:
Long
Content copied to clipboard
Photo width