AmityFileRepostory, build the post using
AmityVideoPostBuilder, and then finally create the post.
AmityFileRepositoryclass contains a method that helps in uploading videos. To upload videos, you have to specify the
feedTypethat the video should belong.
AmityVideoDatawhich contains information about the uploaded video.
AmityVideoData.getVideo(resolution:)that return a ready-to-play HTTP URL.
AmityVideoResolutionis an enum that represents video resolution.
.availableResolution()to retrieve all available resolutions.
AmityVideoData.attributesthat returns a dictionary containing video file properties that might be useful for your app.