whenUploadPhotoAction

inline fun <T> BotAction.whenUploadPhotoAction(block: (UploadPhotoAction) -> T): T?