← Back to packages

Package org.signal.chat.attachments

Service Attachments

Message GetStickerUploadFormRequest

Message GetStickerUploadFormResponse

Message GetUploadFormRequest

Message GetUploadFormResponse

Services

service Attachments

Retrieve an upload form that can be used to perform a resumable upload

Messages

message GetStickerUploadFormRequest

Field Type Description
1 sticker_count uint32

The number of stickers in the sticker pack to upload

message GetStickerUploadFormResponse

Field Type Description
1 pack_id string

A randomly-generated ID for the new sticker pack

2 manifest_upload_form org.signal.chat.common.S3UploadForm

An upload form clients must use to upload a manifest for the sticker pack

3 sticker_upload_forms repeated org.signal.chat.common.S3UploadForm

Upload forms for individual stickers within the sticker pack

message GetUploadFormRequest

Field Type Description
1 uploadLength uint64

The length of the attachment for the requested upload form. Uploads performed with this form will be limited to the provided length.

message GetUploadFormResponse

Field Type Description
oneof outcome
1 upload_form org.signal.chat.common.UploadForm
2 exceeds_max_upload_length org.signal.chat.errors.FailedPrecondition

The request size was larger than the maximum supported upload size. The maximum upload size is subject to change and is governed by global.attachments.maxBytes