agala_telegram v0.1.0 Agala.Provider.Telegram

Module providing adapter for Telegram

Link to this section Summary

Functions

This function defines name for Agala.Reciever module for specific provider. This adds some portion of flexibility for provider creators - the are not forced to follow any naming convention

This function defines name for Agala.Responser module for specific provider. This adds some portion of flexibility for provider creators - the are not forced to follow any naming convention

Link to this section Functions

Link to this function check_params(bot_params)

This function defines name for Agala.Reciever module for specific provider. This adds some portion of flexibility for provider creators - the are not forced to follow any naming convention.

Examples

iex> Agala.Provider.Vk.get_receiver
Agala.Provider.Vk.Receiver
iex> Agala.Provider.Telegram.get_receiver
Agala.Provider.Telegram.Receiver

Callback implementation for Agala.Provider.get_receiver/0.

Link to this function get_responser()

This function defines name for Agala.Responser module for specific provider. This adds some portion of flexibility for provider creators - the are not forced to follow any naming convention.

Examples

iex> Agala.Provider.Vk.get_responser
Agala.Provider.Vk.Responser
iex> Agala.Provider.Telegram.get_responser
Agala.Provider.Telegram.Responser

Callback implementation for Agala.Provider.get_responser/0.

Link to this function init(bot_params, module)