edit

Deprecated

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

Replace with

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