ifPhoto

inline fun <T> TelegramMediaFile.ifPhoto(block: (Photo) -> T): T?