Skip to content

Commit

Permalink
detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadJaara committed Jul 18, 2023
1 parent e3527ae commit f477546
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,23 +174,25 @@ sealed class MessageContent {
val isSelected: Boolean
)
}

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

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

/**
* Message sent by the author of a [Composite] to
* notify which button should be marked as selected.
Expand Down Expand Up @@ -337,6 +339,7 @@ sealed interface MessagePreviewContent {

sealed interface WithUser : MessagePreviewContent {
val username: String?

data class Text(override val username: String?, val messageBody: String?) : WithUser

data class Asset(override val username: String?, val type: AssetType) : WithUser
Expand Down

0 comments on commit f477546

Please sign in to comment.