flag

fun flag(): Completable

Deprecated

This function is deprecated, please use AmityChatClient.newMessageRepository().flagMessage() instead

Replace with

import com.amity.socialcloud.sdk.api.chat.message.AmityMessageRepository
AmityChatClient.newMessageRepository().flagMessage()