Sha256: 5304248a9c47e73d08bb92b3f2dff3e948250accf522f7ca9e34d59af9605620

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

# frozen_string_literal: true

module Hahamut
  module Message
    # Bot Start Message
    class BotEvent < Base
      # 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

1 entries across 1 versions & 1 rubygems

Version Path
hahamut-0.1.0 lib/hahamut/message/bot_event.rb