whenAnimationFile

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