Media
Detalhes da media




POST at this target:

https://joy.classapp.co/graphql?access_token=YOUR_TOKEN_HERE&target=media


Media

ParamsDescription
idThe ID of an object
dbIdIdentifies the primary key from the database.
messageIdmessage the media is from
sizesize in bytes
transcodedcheck if video or audio is transcoded
widthimage width
heightimage height
animatedif has multiple frames
rotatedis rotated
filenamelocal filename, if local
positionMedia position in message
urimedia link
thumbnailmedia thumbnail link
origNameoriginal name
containercloud container suffix
mimetypefile type
type
messagemessage associated with the media
reference_idrow reference in ref table
referencemedia table reference
createdAn ISO-8601 encoded UTC date string of when record was created
modifiedAn ISO-8601 encoded UTC date string of when record was updated
deletedAn ISO-8601 encoded UTC date string of when record was deleted
keyRandom ID to differentiate from others
selectedHelper field for clients
highlightedHelper field for clients
expandedHelper field for clients
loadedHelper field for clients
loadingHelper field for clients

CreateMediaInput

ArgumentsTypeDescription
transcode
Boolean
SCALAR
clientMutationId
String
SCALAR