whenInputMediaPhoto

inline fun <T> InputMedia.whenInputMediaPhoto(block: (InputMediaPhoto) -> T): T?