library / io.getstream.chat.android.livedata.controller / ChannelControllerImpl / sendMessage
sendMessage
suspend fun sendMessage(message: Message): Result<Message>
- Generate an ID
- Insert the message into offline storage with sync status set to Sync Needed
- If we're online do the send message request
- If the request fails we retry according to the retry policy set on the repo