Open nain-F49FF806 opened 1 year ago
My understanding is that both base64 and json forms are valid (links are theoretically valid as well, but I don't see any meaningful use case for them). In Credo we are sending them in json format, but we accept receiving them also in base64.
To my kowledge, the line:
This method of delivery does incur an encoding cost, but is much simpler to implement and a more robust interaction.
Refers to the fact that wrapping Forward messages in a Delivery message is more costly than simply sending them 'naked' through the transport.
@TelegramSam considering that we are going to add some clarifications on this spec, I think it's worth to also add a note here.
Is the last line here (emphasis mine), meant to imply that only base64 encoding is valid in delivery message attachments (as opposed to json/links defined in attachment rfc)?
It is unclear if the final line there implies a recommendation/compulsion of the protocol RFC to use the shown encoding, or is simply a comment for the particular example.
Source partially quoted below for convenience.