qpy.
MediaFile
Represents qpost’s MediaFile object
id
The unique identifier of this MediaFile
sha256
The sha256 hash of this MediaFile
url
The URL of this MediaFile
type
The type of this MediaFile, one of these values; IMAGE / VIDEO / LINK
time_created
The timestamp of when this MediaFile was created
MediaBuilder
A utility class to help you turn image files into base64 string lists
medias
List of medias to be sent
add
Converts an image file into base64 and appends it to a list ready to be sent
imgpath – Path to the image file