@Deprecated
public class InputFileBytes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUDIO_FILE_NAME
Deprecated.
|
static java.lang.String |
AUDIO_MIME_TYPE
Deprecated.
|
static java.lang.String |
PHOTO_FILE_NAME
Deprecated.
|
static java.lang.String |
PHOTO_MIME_TYPE
Deprecated.
|
static java.lang.String |
VIDEO_FILE_NAME
Deprecated.
|
static java.lang.String |
VIDEO_MIME_TYPE
Deprecated.
|
static java.lang.String |
VOICE_FILE_NAME
Deprecated.
|
static java.lang.String |
VOICE_MIME_TYPE
Deprecated.
|
Constructor and Description |
---|
InputFileBytes(java.lang.String mimeType,
byte[] bytes,
java.lang.String fileName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InputFileBytes |
audio(byte[] bytes)
Deprecated.
|
java.lang.String |
fileName()
Deprecated.
|
byte[] |
getBytes()
Deprecated.
|
static InputFileBytes |
photo(byte[] bytes)
Deprecated.
|
static InputFileBytes |
video(byte[] bytes)
Deprecated.
|
static InputFileBytes |
voice(byte[] bytes)
Deprecated.
|
public static final java.lang.String PHOTO_MIME_TYPE
public static final java.lang.String AUDIO_MIME_TYPE
public static final java.lang.String VIDEO_MIME_TYPE
public static final java.lang.String VOICE_MIME_TYPE
public static final java.lang.String PHOTO_FILE_NAME
public static final java.lang.String AUDIO_FILE_NAME
public static final java.lang.String VIDEO_FILE_NAME
public static final java.lang.String VOICE_FILE_NAME
public InputFileBytes(java.lang.String mimeType, byte[] bytes, java.lang.String fileName)
public static InputFileBytes photo(byte[] bytes)
public static InputFileBytes audio(byte[] bytes)
public static InputFileBytes video(byte[] bytes)
public static InputFileBytes voice(byte[] bytes)
public java.lang.String fileName()
public byte[] getBytes()