SendButtonActionMessageUseCase

class SendButtonActionMessageUseCase(messageSender: MessageSender, messageMetadataRepository: MessageMetadataRepository, syncManager: SyncManager, currentClientIdProvider: CurrentClientIdProvider, selfUserId: <Error class: unknown class>)

Use case for sending a button action message.

Parameters

conversationId

The conversation id.

messageId

The id of the message that contains the button.

buttonId

The id of the button.

the action message is sent only to the message original sender.

Constructors

Link copied to clipboard
internal constructor(messageSender: MessageSender, messageMetadataRepository: MessageMetadataRepository, syncManager: SyncManager, currentClientIdProvider: CurrentClientIdProvider, selfUserId: <Error class: unknown class>)

Types

Link copied to clipboard
interface Result

Functions

Link copied to clipboard
suspend operator fun invoke(conversationId: <Error class: unknown class>, messageId: String, buttonId: String): SendButtonActionMessageUseCase.Result