I've been searching the docs and community for an answer to this without success. I'm thinking it must be somehow possible, and hoping someone here could provide an answer.
I am using webhooks to post messages from an AWS lambda, which works great! I would like to send a message that contains potentially long (up to 256kb) snippets of code. I was hoping I could do that as an attachment, but didn't see any way to do this via webhooks. Then I tried to find out if it was possible to send a truncated code snippet in the post (up to 10000 chars). By code snippet I don't mean "[code]...[/code]" but the actual "code snippet" functionality that displays a different card.
Is either attachment or code snippet at all possible via webhooks? If so, would I use the Adaptive Cards schema or the legacy schema?