BotEx.Models.Message (bot_ex v1.0.2)
Summary
Types
@type t() :: %BotEx.Models.Message{ action: binary(), chat_id: integer(), custom_data: any(), data: binary(), date_time: any(), force_new: boolean(), from: atom(), is_cmd: boolean(), module: binary(), msg: any(), text: binary(), user: any(), user_id: integer() }
Module, that represents message wrapper struct
##
is_cmd
: is it a command or not,module
: the name of the module that will be called must match the result ofBotEx.Handlers.ModuleHandler.get_cmd_name/0
,action
: action,data
: data,msg
: original messageuser
: current useruser_id
: user idtext
: message text, if anyforce_new
:- report that editing the message is undesirablechat_id
:- chat idcustom_data
:- any additional data