ifPhotoSize

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