> For the complete documentation index, see [llms.txt](https://docs.liquidapps.io/liquidapps-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.liquidapps.io/liquidapps-documentation/introduction/dapp-network-resources/link-library/eosio-link/macros.md).

# Macros

`MESSAGE_RECEIVED_HOOK` - define function handler which receives message, e.g., issue or transfer token to user

`MESSAGE_RECEIVED_FAILURE_HOOK` - define function handler which receives failed message, e.g., mark message as failed and add to failed message table

`MESSAGE_RECEIPT_HOOK` - define function handler which receives receipt, e.g., return tokens to sender, transfer failed

`MESSAGE_RECEIPT_FAILURE_HOOK` - define function handler which receives failed receipt, .e.g., mark receipt as failed and add to failed message table

`LINK_INIT_METHODS` - defines methods for link
