SendLocationUseCase
class SendLocationUseCase(persistMessage: PersistMessageUseCase, selfUserId: <Error class: unknown class>, currentClientIdProvider: CurrentClientIdProvider, slowSyncRepository: SlowSyncRepository, messageSender: MessageSender, messageSendFailureHandler: MessageSendFailureHandler, selfDeleteTimer: ObserveSelfDeletionTimerSettingsForConversationUseCase, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)
Sending a location message to a conversation
Constructors
Link copied to clipboard
internal constructor(persistMessage: PersistMessageUseCase, selfUserId: <Error class: unknown class>, currentClientIdProvider: CurrentClientIdProvider, slowSyncRepository: SlowSyncRepository, messageSender: MessageSender, messageSendFailureHandler: MessageSendFailureHandler, selfDeleteTimer: ObserveSelfDeletionTimerSettingsForConversationUseCase, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)
Functions
Link copied to clipboard
suspend operator fun invoke(conversationId: <Error class: unknown class>, latitude: Float, longitude: Float, name: String?, zoom: Int): Either<CoreFailure, Unit>
Operation to send a location message to a conversation.