feat(whatsapp): adopt replyToMode quoting (#62305)

* fix(core): align auto-reply threading behavior

* fix(core): propagate reply threading through outbound and gateway

* fix(whatsapp): use cached metadata for native quoted replies

* feat(whatsapp): add configurable native reply quoting
This commit is contained in:
Marcus Castro
2026-04-23 01:19:47 -03:00
committed by GitHub
parent 728c644e4b
commit f5f0235bb1
45 changed files with 1565 additions and 80 deletions

View File

@@ -464,6 +464,7 @@ public struct SendParams: Codable, Sendable {
public let channel: String?
public let accountid: String?
public let agentid: String?
public let replytoid: String?
public let threadid: String?
public let sessionkey: String?
public let idempotencykey: String
@@ -477,6 +478,7 @@ public struct SendParams: Codable, Sendable {
channel: String?,
accountid: String?,
agentid: String?,
replytoid: String?,
threadid: String?,
sessionkey: String?,
idempotencykey: String)
@@ -489,6 +491,7 @@ public struct SendParams: Codable, Sendable {
self.channel = channel
self.accountid = accountid
self.agentid = agentid
self.replytoid = replytoid
self.threadid = threadid
self.sessionkey = sessionkey
self.idempotencykey = idempotencykey
@@ -503,6 +506,7 @@ public struct SendParams: Codable, Sendable {
case channel
case accountid = "accountId"
case agentid = "agentId"
case replytoid = "replyToId"
case threadid = "threadId"
case sessionkey = "sessionKey"
case idempotencykey = "idempotencyKey"