whenPhotoSize

inline fun <T> TelegramMediaFile.whenPhotoSize(block: (PhotoSize) -> T): T?