class NeteaseIM::Msg
Public Class Methods
send_attach_msg(params)
click to toggle source
# File lib/netease_im/msg.rb, line 15 def self.send_attach_msg(params) Utils.check_required_params(params, %w(from msgtype to attach)) Request.send_sync('msg/sendAttachMsg.action', params) end
send_batch_msg(params)
click to toggle source
# File lib/netease_im/msg.rb, line 10 def self.send_batch_msg(params) Utils.check_required_params(params, %w(fromAccid toAccids type body)) Request.send_sync('msg/sendBatchMsg.action', params) end
send_msg(params)
click to toggle source
# File lib/netease_im/msg.rb, line 5 def self.send_msg(params) Utils.check_required_params(params, %w(from ope to type body)) Request.send_sync('msg/sendMsg.action', params) end