SendButtonActionConfirmationMessageUseCase

class SendButtonActionConfirmationMessageUseCase(messageSender: MessageSender, syncManager: SyncManager, currentClientIdProvider: CurrentClientIdProvider, selfUserId: UserId)

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

internal constructor(messageSender: MessageSender, syncManager: SyncManager, currentClientIdProvider: CurrentClientIdProvider, selfUserId: UserId)

Types

Link copied to clipboard
sealed interface Result

Functions

Link copied to clipboard
suspend operator fun invoke(conversationId: ConversationId, messageId: String, buttonId: String, userIds: List<UserId>): SendButtonActionConfirmationMessageUseCase.Result