Hello..when there is impact on the inner side of Elbow a nerve called Ulnar nerve gets injured. Usually it causes transient pain for few minutes.
Next Steps
If pain persists for more than a few minutes it may be a significant injury which may involve the bone too .
Health Tips
Consult an Orthopaedic Surgeon and get the appropriate treatment if pain is persistent.