getMediaAttachmentsByConversationId

open fun getMediaAttachmentsByConversationId(@NonNull context: Context, @NonNull conversationId: String): List<BaseAttachment>

Call this method to retrieve all images, videos and GIFs for a given conversation.

Return

List of media attachment or null

See also

Parameters

context

the application context

conversationId

the given conversation ID.