ifPathedFile

inline fun <T> TelegramMediaFile.ifPathedFile(block: (PathedFile) -> T): T?