agala v2.5.2 API Reference

Modules

Main framework module. Basic Application. Should be started as external application in your mix.exs file in order to use Agala.

This module represents main Bot supervisor.

Module, represents the bank which gets messages from poller and then syncronosly proceeds them

This module can be used to build Bots to retrieve updates from third-parties as webhooks.

You can use this behaviour for implementing your own provider.

Behaviour, represents the bank which gets Agala.Conn from Chain and then syncronosly proceeds them to response

Behavior for modules that represent permanent storage system for Agala bot.

Basic Agala.Storage implimentation. The data is stored in Agent, that is started under Agala.Bot supervisor tree.

This module specified generic system for configuration all the variety of Agala bots. It helps to keep types of the params in consistence.

The Chain specification. There are two kind of Chains: function Chains and module Chains.

Loopback automaticly sends response back to the bot, which got the request

The Agala connection.

This module represents a set of macros, that can be used to performed multiple operation inside one Agala.Conn instance.

Behaviour that defines root structure for Agala provider