@getdial/sdk - v0.21.0
Python SDK
AI SDK
getdial.ai
Preparing search index...
SendMessageMedia
Type Alias SendMessageMedia
SendMessageMedia
:
|
string
|
{
path
:
string
}
|
{
contentType
:
string
;
data
:
Uint8Array
;
filename
?:
string
}
One media attachment on an outbound message:
string
— a publicly reachable http(s) URL; Dial downloads and re-hosts it.
{ path }
— a local file, uploaded as multipart; MIME type inferred from the extension.
{ data, contentType }
— raw bytes, uploaded as multipart; the MIME type is required.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Python SDK
AI SDK
getdial.ai
@getdial/sdk - v0.21.0
Loading...
One media attachment on an outbound message:
string— a publicly reachable http(s) URL; Dial downloads and re-hosts it.{ path }— a local file, uploaded as multipart; MIME type inferred from the extension.{ data, contentType }— raw bytes, uploaded as multipart; the MIME type is required.