Skip to content

Commit

Permalink
resolves #1620 [WhatsApp Cloud Connector] Remove internal flag on Wha…
Browse files Browse the repository at this point in the history
…tsAppCloudSendBotMessage
  • Loading branch information
vsct-jburet committed Jun 10, 2024
1 parent 402d254 commit f716578
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import ai.tock.bot.connector.whatsapp.cloud.model.send.message.WhatsAppCloudBotR
import ai.tock.bot.connector.whatsapp.cloud.model.send.message.WhatsAppCloudSendBotMessage
import ai.tock.bot.connector.whatsapp.cloud.model.send.message.WhatsAppCoudBotMessageType

internal data class WhatsAppCloudSendBotImageMessage(
data class WhatsAppCloudSendBotImageMessage(
override val messagingProduct: String,
override val to: String?,
override val recipientType: WhatsAppCloudBotRecipientType?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package ai.tock.bot.connector.whatsapp.cloud.model.send.message

import ai.tock.bot.connector.whatsapp.cloud.model.send.message.content.WhatsAppCloudBotInteractive

internal data class WhatsAppCloudSendBotInteractiveMessage(
data class WhatsAppCloudSendBotInteractiveMessage(
override val messagingProduct: String,
val interactive: WhatsAppCloudBotInteractive,
override val recipientType: WhatsAppCloudBotRecipientType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package ai.tock.bot.connector.whatsapp.cloud.model.send.message

import ai.tock.bot.connector.whatsapp.cloud.model.send.message.content.WhatsAppCloudBotLocation

internal data class WhatsAppCloudSendBotLocationMessage(
data class WhatsAppCloudSendBotLocationMessage(
override val messagingProduct: String,
val location: WhatsAppCloudBotLocation,
override val recipientType: WhatsAppCloudBotRecipientType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package ai.tock.bot.connector.whatsapp.cloud.model.send.message

import ai.tock.bot.connector.whatsapp.cloud.model.send.message.content.WhatsAppCloudBotTemplate

internal data class WhatsAppCloudSendBotTemplateMessage(
data class WhatsAppCloudSendBotTemplateMessage(
override val messagingProduct: String,
val template: WhatsAppCloudBotTemplate,
override val recipientType: WhatsAppCloudBotRecipientType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ package ai.tock.bot.connector.whatsapp.cloud.model.send.message
import ai.tock.bot.connector.whatsapp.cloud.model.common.TextContent
import com.fasterxml.jackson.annotation.JsonProperty

internal data class WhatsAppCloudSendBotTextMessage (
data class WhatsAppCloudSendBotTextMessage (
override val messagingProduct: String,
val text: TextContent,
override val recipientType: WhatsAppCloudBotRecipientType,
override val to: String,
@get:JsonProperty("preview_url")
val previewUrl: Boolean = false,
) : WhatsAppCloudSendBotMessage(WhatsAppCoudBotMessageType.text)
) : WhatsAppCloudSendBotMessage(WhatsAppCoudBotMessageType.text)

0 comments on commit f716578

Please sign in to comment.