Sha256: c99d90e6929785f34cfe075353e1081f4995d716de2dea6d191e158aaa24ea75

Contents?: true

Size: 316 Bytes

Versions: 5

Compression:

Stored size: 316 Bytes

Contents

module MatrixQQ
  class QQ
    module SendGroup
      def self.raw(dbus, room_id, body)
        dbus.send_group_msg group_id: room_id, message: body
      end

      def self.text(dbus, room_id, message)
        return if message.nil?
        raw dbus, room_id, [message]
      end
    end # Send
  end # Matrix
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
matrix_qq-0.3.1 lib/matrix_qq/qq/send.rb
matrix_qq-0.3.0 lib/matrix_qq/qq/send.rb
matrix_qq-0.2.1 lib/matrix_qq/qq/send.rb
matrix_qq-0.2.0 lib/matrix_qq/qq/send.rb
matrix_qq-0.1.1 lib/matrix_qq/qq/send.rb