module RongCloud::Services::HistoryMessage

www.rongcloud.cn/docs/server.html#history_message

Public Instance Methods

delete_history(date) click to toggle source

Delete all history message whithin specified date and hour

@param date [String] the date and hour represented in format “YYYYmmddHH”

# File lib/rong_cloud/services/history_message.rb, line 17
def delete_history(date)
  request "/message/history/delete", { date: date }
end
get_history(date) click to toggle source

Get the download url for history messages within specified hour

@param date [String] the date and hour represented in format “YYYYmmddHH”

# File lib/rong_cloud/services/history_message.rb, line 9
def get_history(date)
  request "/message/history", { date: date }
end