public interface MediaService
| Modifier and Type | Method and Description |
|---|---|
<any> |
upload(RequestBody media,
RequestBody mediaData,
RequestBody additionalOwners)
Uploads media (images) to Twitter for use in a Tweet or Twitter-hosted Card.
|
<any> upload(RequestBody media,
RequestBody mediaData,
RequestBody additionalOwners)
media - the raw binary file content to upload. Cannot be used with the mediaData
parameter.mediaData - the base64-encoded file content to upload. Cannot be used with the media
parameter