Audio
Class that represents audio attachments.
Audio attachments cannot be sent from the application but can be received from an agent.
Props
duration
val duration: Duration
Audio file duration.
Returns
type:
Duration
id
val id: Long?
Attachment id.
Available only if a message with this attachment is successfully sent.
Returns
type:
Long?
mimeType
val mimeType: String
Audio file MIME type.
Returns
type:
String
name
val name: String
Audio file name.
Returns
type:
String
requestId
val requestId: String?
Temporary attachment id.
Available only if a message with this attachment is sent from an application.
Returns
type:
String?
size
val size: Long
Audio file size.
Returns
type:
Long
url
val url: String?
URL to download the audio file.
Returns
type:
String?
Methods
equals
fun equals(other: Any?
): Boolean
Parameters
other:
Any?
Optional
Returns
type:
Boolean
hashCode
fun hashCode(): Int
Returns
type:
Int
toString
fun toString(): String
Returns
type:
String