BotEx.Helpers.UserActions (bot_ex v1.0.2)

User actions interacting functions

Summary

Functions

Find the last user action

Update last user message

Functions

get_last_call(u_id)

@spec get_last_call(integer() | binary()) :: BotEx.Models.Message.t()

Find the last user action

Parameters:

  • u_id: user id

update_last_call(user_id, call)

@spec update_last_call(
  user_id :: integer() | binary(),
  call :: BotEx.Models.Message.t()
) :: true

Update last user message

Parameters: