module RongCloud::Services::ConversationNotification

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

Public Instance Methods

get_conversation_notification(conversation_type, request_id, target_id) click to toggle source
# File lib/rong_cloud/services/conversation_notification.rb, line 14
def get_conversation_notification(conversation_type, request_id, target_id)
  request("/conversation/notification/get", {
    conversationType: conversation_type,
    requestId: request_id,
    targetId: target_id
  })
end
set_conversation_notification(conversation_type, request_id, target_id, is_muted) click to toggle source
# File lib/rong_cloud/services/conversation_notification.rb, line 5
def set_conversation_notification(conversation_type, request_id, target_id, is_muted)
  request("/conversation/notification/set", {
    conversationType: conversation_type,
    requestId: request_id,
    targetId: target_id,
    isMuted: is_muted
  })
end