Module: RongCloud::Services::ConversationNotification
- Included in:
- RongCloud::Service
- Defined in:
- lib/rong_cloud/services/conversation_notification.rb
Overview
Instance Method Summary collapse
- #get_conversation_notification(conversation_type, request_id, target_id) ⇒ Object
- #set_conversation_notification(conversation_type, request_id, target_id, is_muted) ⇒ Object
Instance Method Details
#get_conversation_notification(conversation_type, request_id, target_id) ⇒ Object
14 15 16 17 18 19 20 |
# 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) ⇒ Object
5 6 7 8 9 10 11 12 |
# 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 |