bot_ex v0.2.0 BotEx.Helpers.UserActions
User actions interacting functions
Link to this section Summary
Link to this section Functions
Link to this function
get_last_call(u_id)
get_last_call(integer() | binary()) :: BotEx.Models.Message.t()
Find the last user action
Parameters:
- u_id: user id
Link to this function
update_last_call(user_id, call)
update_last_call(user_id :: integer(), call :: BotEx.Models.Message.t()) :: true
Update last user message
Parameters:
- user_id: user id
- call:
BotEx.Models.Message
for saving