class Kf5Api::Kchat

Constants

ACTIONS_HASH

developer.kf5.com/restfulapi/kchat/history

Public Class Methods

chat(chat_id) click to toggle source

查看对话

# File lib/kf5_api/kchat.rb, line 19
def chat(chat_id)
  get(format(ACTIONS_HASH[:chat], id: chat_id)).parsed_response
end
history(query_params = {}) click to toggle source

对话列表

# File lib/kf5_api/kchat.rb, line 14
def history(query_params = {})
  get(ACTIONS_HASH[:history], query_params).parsed_response
end