This is a FiveM resource that allows developers to easily create server-side adaptive cards in deferrals using Microsoft Adaptive Cards.
This resource contains a list of export functions that can be used to easily create adaptive cards in deferrals without having to create Adaptive Cards using raw JSON. The GitHub repo contains a list of all the exports.
Within the resource, there is an example script that shows a simple Adaptive Card that allows the player to join the server when clicking on a button.
If there are any issues with this resource, be sure to let me know. And if there are any issues with the code, be sure to submit an issue on the GitHub repo.