ifAnimationFile

inline fun <T> TelegramMediaFile.ifAnimationFile(block: (AnimationFile) -> T): T?