whenInputMediaAnimation

inline fun <T> InputMedia.whenInputMediaAnimation(block: (InputMediaAnimation) -> T): T?