library / io.getstream.chat.android.livedata.usecase / SendMessageImpl / invoke

invoke

operator fun invoke(message: Message): Call2<Message>

Sends the message. Immediately adds the message to local storage API call to send the message is retried according to the retry policy specified on the chatDomain

Parameters

message - the message to send

Return
A call object with Message as the return type

See Also

io.getstream.chat.android.livedata.utils.RetryPolicy