public class Attachment extends Object
ChatLog
that will be created by LivechatAgentsPath
.
It is used to define attachments in a chat log event.
This class is a model that will be serialised to JSON and deserialised from JSON to this model. As such it does not follow the m naming prefix for fields.
Constructor and Description |
---|
Attachment() |
Modifier and Type | Method and Description |
---|---|
String |
getMimeType()
Gets mime type of the attachment
|
String |
getName()
Gets name of the attachment file
|
Long |
getSize()
Gets file size of the attachment
|
URL |
getThumbnail()
Gets thumbnail image of the attachment
|
String |
getType()
Gets type of the attachment like document or image
|
URL |
getUrl()
Get resource url of the attachment
|
@Nullable public String getType()
@Nullable public String getMimeType()
@Nullable public String getName()
@Nullable public URL getThumbnail()