Sha256: b30379c02b8d6f647a1b2d5ff16496f7d0c4acd3c10fbb603840840ae3791f2c

Contents?: true

Size: 329 Bytes

Versions: 3

Compression:

Stored size: 329 Bytes

Contents

require 'uuidtools'
require 'securerandom'
require_relative '../whatsapp'
module WhatsApp
  class IncomingMessage < Gupshup::REST::WhatsApp
    def initialize(app, apikey, version = '2')
      super
      @type = 'message'
    end

    def sendMessage(message, type)
      payload = {'id': SecureRandom.hex, }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gupshup_whatsapp-0.2.3 lib/gupshup_whatsapp/rest/whatsapp/message/incoming_message.rb
gupshup_whatsapp-0.2.1 lib/gupshup_whatsapp/rest/whatsapp/message/incoming_message.rb
gupshup_whatsapp-0.2.0 lib/gupshup_whatsapp/rest/whatsapp/message/incoming_message.rb