Image Post
Create an image post
To create image post, images must be uploaded first. SDK provides a convenient class AmityFileRepository
to handle upload and download images. The repository contains uploadImage
method which returns you an AmityImageData
for successful upload.
A post can have maximum ten images.
Now to create the image post. We can build the post first by using AmityImagePostBuilder
. Then use the same createPost
method in AmityPostRepository
to create image post.
To know more about mentions in post, refer to Mention in Post page.
Last updated