BlueBubblesApp / bluebubbles-app

A cross-platform app ecosystem, bringing iMessage to Android, PC (Windows, Linux, & even macOS), and Web!
https://bluebubbles.app
Apache License 2.0
668 stars 93 forks source link

Add support for Audio Message transcripts #2762

Open zlshames opened 3 days ago

zlshames commented 3 days ago

The transcript will be in the attributed body, for example:

         NSAttributedString {
[1]           string: '',
[1]           runs: [
[1]             {
[1]               range: [ 0, 1 ],
[1]               attributes: {
[1]                 __kIMFileTransferGUIDAttributeName: '05F19A0E-C4D4-4F6A-9713-E8BE34C55461',
[1]                 IMAudioTranscription: 'This should be transcribed',
[1]                 __kIMBaseWritingDirectionAttributeName: -1,
[1]                 __kIMMessagePartAttributeName: 0
[1]               }
[1]             }
[1]           ]
[1]         }
[1]       ],