Sha256: 0c4c133ee0795018aa5c8244392269861840750872bd823215dfa54d64adea3d

Contents?: true

Size: 411 Bytes

Versions: 2

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

module Hahamut
  module Message
    # Bot Start Message
    class BotEvent < Base
      attribute :event_id, :string
      # TODO: Implement image attribute
      attribute :image, :string
      # TODO: Implement specify attribute
      attribute :hp, :json
      attribute :text, :json
      attribute :button, :json

      def type
        :botEvent
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hahamut-0.1.2 lib/hahamut/message/bot_event.rb
hahamut-0.1.1 lib/hahamut/message/bot_event.rb