Skip to content

Commit

Permalink
Update logic/src/commonMain/kotlin/com/wire/kalium/logic/data/message…
Browse files Browse the repository at this point in the history
…/MessageContent.kt

Co-authored-by: Vitor Hugo Schwaab <[email protected]>
  • Loading branch information
MohamadJaara and vitorhugods authored Jul 18, 2023
1 parent e6ebf82 commit 6970d27
Showing 1 changed file with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,22 @@ sealed class MessageContent {
val isSelected: Boolean
)
}

/**
* Notifies the author of a [Composite] message that a user has
* selected one of its buttons.
* @see Composite
* @see ButtonActionConfirmation
*/
data class ButtonAction(
val buttonId: String,
val buttonAction: String
/**
* The ID of the original composite message.
*/
val referencedMessageId: String,

/**
* ID of the button that was selected.
*/
val buttonId: String
) : Signaling()

data class ButtonActionConfirmation(
Expand Down

0 comments on commit 6970d27

Please sign in to comment.