Select a Video from a Device Gallery by Appium Java

Hi Team,

      How to select a Video from the Device Gallery to upload this in the chat.

    Thanks in Advance

Regards,
Chandu Dhani