class RBotKit::StateProvider
Public Instance Methods
get_current_state(chat_id)
click to toggle source
# File lib/RBotKit/state_provider.rb, line 13 def get_current_state(chat_id) :none end
is_req_already_processed(chat_id, req_id)
click to toggle source
# File lib/RBotKit/state_provider.rb, line 5 def is_req_already_processed(chat_id, req_id) return false if req_id == nil end
update_last_processed_req_id(chat_id, req_id)
click to toggle source
# File lib/RBotKit/state_provider.rb, line 9 def update_last_processed_req_id(chat_id, req_id) return false if req_id == nil end
update_state_for(chat_id, state)
click to toggle source
# File lib/RBotKit/state_provider.rb, line 17 def update_state_for(chat_id, state) end