Skip to content

Commit

Permalink
Apply service payload at Text.TextRedirect #2449
Browse files Browse the repository at this point in the history
  • Loading branch information
sangho.lee authored and shshshl09 committed Jan 9, 2024
1 parent 687feab commit 2c5dcea
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ class TextAgent(
val token: String,
@SerializedName("targetPlayServiceId")
val targetPlayServiceId: String?,
@SerializedName("service")
val service: JsonObject?,
@SerializedName("interactionControl")
val interactionControl: InteractionControl?
)
Expand Down Expand Up @@ -320,6 +322,7 @@ class TextAgent(
TextInputRequester.Request.Builder(payload.text)
.includeDialogAttribute(targetPlayServiceId == null)
.playServiceId(targetPlayServiceId).token(payload.token)
.service(payload.service?.toString())
.interactionControl(payload.interactionControl)
.referrerDialogRequestId(info.directive.header.dialogRequestId).build(),
object : TextAgentInterface.RequestListener {
Expand Down

0 comments on commit 2c5dcea

Please sign in to comment.