mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-07 02:22:46 +00:00
fix(protocol): refresh generated send params
This commit is contained in:
@@ -595,6 +595,9 @@ public struct SendParams: Codable, Sendable {
|
||||
public let message: String?
|
||||
public let mediaurl: String?
|
||||
public let mediaurls: [String]?
|
||||
public let buffer: String?
|
||||
public let filename: String?
|
||||
public let contenttype: String?
|
||||
public let asvoice: Bool?
|
||||
public let gifplayback: Bool?
|
||||
public let channel: String?
|
||||
@@ -613,6 +616,9 @@ public struct SendParams: Codable, Sendable {
|
||||
message: String?,
|
||||
mediaurl: String?,
|
||||
mediaurls: [String]?,
|
||||
buffer: String?,
|
||||
filename: String?,
|
||||
contenttype: String?,
|
||||
asvoice: Bool?,
|
||||
gifplayback: Bool?,
|
||||
channel: String?,
|
||||
@@ -630,6 +636,9 @@ public struct SendParams: Codable, Sendable {
|
||||
self.message = message
|
||||
self.mediaurl = mediaurl
|
||||
self.mediaurls = mediaurls
|
||||
self.buffer = buffer
|
||||
self.filename = filename
|
||||
self.contenttype = contenttype
|
||||
self.asvoice = asvoice
|
||||
self.gifplayback = gifplayback
|
||||
self.channel = channel
|
||||
@@ -649,6 +658,9 @@ public struct SendParams: Codable, Sendable {
|
||||
case message
|
||||
case mediaurl = "mediaUrl"
|
||||
case mediaurls = "mediaUrls"
|
||||
case buffer
|
||||
case filename
|
||||
case contenttype = "contentType"
|
||||
case asvoice = "asVoice"
|
||||
case gifplayback = "gifPlayback"
|
||||
case channel
|
||||
|
||||
Reference in New Issue
Block a user