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
Link copied to clipboard
internal constructor(messageSender: MessageSender, syncManager: SyncManager, currentClientIdProvider: CurrentClientIdProvider, selfUserId: UserId)
Functions
Link copied to clipboard
suspend operator fun invoke(conversationId: ConversationId, messageId: String, buttonId: String, userIds: List<UserId>): SendButtonActionConfirmationMessageUseCase.Result