BotEx.Models.Message (bot_ex v1.0.3)
Summary
Types
@type t() :: %BotEx.Models.Message{ action: nil | binary(), chat_id: integer(), custom_data: any(), data: nil | binary(), date_time: any(), force_new: boolean(), from: atom(), is_cmd: boolean(), module: nil | binary(), msg: any(), text: nil | 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