agala v1.0.3 Agala.Bot.Broadcast.Test

Summary

Functions

This function broadcast the message to your router

Functions

broadcast(message)
broadcast(any) :: :ok

This function broadcast the message to your router.

Args:

  • message - message, that would be broadcasting to your router from your hook. You can define the form of your messages, so they can be proceed by your router and then by your handlers.

Example

broadcast("The weather is 31 degrees Celsies")