appstoreserverlibrary.models.UploadMessageRequestBody module

class appstoreserverlibrary.models.UploadMessageRequestBody.UploadMessageRequestBody(header: str, body: str, image: UploadMessageImage | None = None, headerPosition: HeaderPosition | None = None, bulletPoints: List[BulletPoint] | None = None, *, rawHeaderPosition: str | None = None)[source]

Bases: AttrsRawValueAware

The request body for uploading a message, which includes the message text and an optional image reference.

https://developer.apple.com/documentation/retentionmessaging/uploadmessagerequestbody

body: str

The body text of the retention message that the system displays to customers.

https://developer.apple.com/documentation/retentionmessaging/body

bulletPoints: List[BulletPoint] | None

An optional array of bullet points.

https://developer.apple.com/documentation/retentionmessaging/bulletpoint

header: str

The header text of the retention message that the system displays to customers.

https://developer.apple.com/documentation/retentionmessaging/header

headerPosition: HeaderPosition | None

The position of header text, which defaults to placing header text above the body.

https://developer.apple.com/documentation/retentionmessaging/headerposition

image: UploadMessageImage | None

The optional image identifier and its alternative text to appear as part of a text-based message with an image.

https://developer.apple.com/documentation/retentionmessaging/uploadmessageimage

rawHeaderPosition: str | None

See headerPosition