PhotoSize

telegramium.bots.PhotoSize
final case class PhotoSize(fileId: String, fileUniqueId: String, width: Int, height: Int, fileSize: Option[Long])

This object represents one size of a photo or a file / sticker thumbnail.

Value parameters

fileId

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

fileSize

Optional. File size in bytes

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.

height

Photo height

width

Photo width

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product