Is it possible to send images in chat? If so, are there any data limits per message / per month?
Alternatively, is it possible to send serialized data.. to give some context, iI wish that the users can send images to one another but there would be some instructions along with each image such as 'this image goes on the door' , ' this image goes on the fridge'.
*its possible that the chat system is not the best place to implement this.. I would like some guidance if that is the case.
I'm a total noob with any kind of backend features.
Thank you.
Best Answer
T
Tech Support
said
over 5 years ago
Hi Joshua,
I recommend sending a URL of the images address in the message and using a HTTP call to download said image.
The image address can come through multiple methods:
A player linking this URL from a website .
or
Using GameSparks uploadbles to upload an image, then referencing it through an ID which would return a url for you to download using a HTTP request.
Joshua Fernadnes
Is it possible to send images in chat?
If so, are there any data limits per message / per month?
Alternatively, is it possible to send serialized data.. to give some context, iI wish that the users can send images to one another but there would be some instructions along with each image such as 'this image goes on the door' , ' this image goes on the fridge'.
*its possible that the chat system is not the best place to implement this.. I would like some guidance if that is the case.
I'm a total noob with any kind of backend features.
Thank you.
Hi Joshua,
I recommend sending a URL of the images address in the message and using a HTTP call to download said image.
The image address can come through multiple methods:
A player linking this URL from a website .
or
Using GameSparks uploadbles to upload an image, then referencing it through an ID which would return a url for you to download using a HTTP request.
You can read more about uploadbles here:
https://docs.gamesparks.com/tutorials/database-access-and-cloud-storage/uploading-binary-content-from-game.html
https://docs.gamesparks.com/api-documentation/request-api/misc/getuploadurlrequest.html
https://docs.gamesparks.com/api-documentation/request-api/misc/getuploadedrequest.html
And here's our fair usage doc:
https://docs.gamesparks.com/documentation/key-concepts/system-limits.html
You can only upload up to 3.5mb per upload request.
Hope this helps,
Omar
Tech Support
Hi Joshua,
I recommend sending a URL of the images address in the message and using a HTTP call to download said image.
The image address can come through multiple methods:
A player linking this URL from a website .
or
Using GameSparks uploadbles to upload an image, then referencing it through an ID which would return a url for you to download using a HTTP request.
You can read more about uploadbles here:
https://docs.gamesparks.com/tutorials/database-access-and-cloud-storage/uploading-binary-content-from-game.html
https://docs.gamesparks.com/api-documentation/request-api/misc/getuploadurlrequest.html
https://docs.gamesparks.com/api-documentation/request-api/misc/getuploadedrequest.html
And here's our fair usage doc:
https://docs.gamesparks.com/documentation/key-concepts/system-limits.html
You can only upload up to 3.5mb per upload request.
Hope this helps,
Omar
2 people like this
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics