Message Details don't include the message reply data when the reply includes an attachment.
Hello,
When a reply message only consists of text data, the message details appropriately includes the details of the message being replied to, as shown below:
- {
- "time":1676824436205,
- "message":
- {
- "replied_message":
- {
- "sender":
- {
- "name":"PhoneBot",
- "id":"b-2204997000000083003"
- },
- "mentions":[ ],
- "time":1676669192144,
- "text":"The following media was received from contact Nancy xxxxx at 1239273xxxx.",
- "id":"1676669192144%203033878857680",
- "type":"text"
- },
- "mentions":[ ],
- "text":"Testing",
- "type":"text",
- "content":{"text":"Testing"}
- }
- }
Including an attachment however in the context of a reply only returns the following Message Details:
As a result, it seems that it's impossible to programmatically ascertain what was originally being replied-to since the replied_message key is not present.
Can this be added?
Thanks,
Bryan