Add a comment to message attachment captions

This commit is contained in:
Harry 2024-03-05 09:51:13 -08:00 committed by GitHub
parent 107bb59864
commit c09338f403
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,6 +152,10 @@ extension AttachmentReference {
/// Caption on the attachment.
/// Used for:
/// * message body attachments
/// * legacy only; the ability to set captions on message
/// attachments was removed long ago. We maintain them
/// for existing messages. New message attachments always
/// inherit their "caption" from their parent message.
/// * story media
/// But even in those cases its optional.
fileprivate let _caption: MessageBody?