Sha256: d73f82becf33cac9ac334e95178e118309a81a5a730669aa6aa045256e6e1d22

Contents?: true

Size: 476 Bytes

Versions: 6

Compression:

Stored size: 476 Bytes

Contents

module Line
  module Bot
    module Event
      class Message

        # ユーザの送信メッセージ
        #
        # @return EXAMPLE 'Hello world.'
        #
        def text
          message.text
        end

        # ユーザの送信スタンプのids(パッケージID、スタンプID)
        #
        # @return EXAMPLE ["1", "1"]
        #
        def sticker_ids
          [message.package_id, message.sticker_id]
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pleiades-0.1.6 lib/pleiades/core_ext/line/bot/event/message.rb
pleiades-0.1.5 lib/pleiades/core_ext/line/bot/event/message.rb
pleiades-0.1.4 lib/pleiades/core_ext/line/bot/event/message.rb
pleiades-0.1.3 lib/pleiades/core_ext/line/bot/event/message.rb
pleiades-0.1.2 lib/pleiades/core_ext/line/bot/event/message.rb
pleiades-0.1.1 lib/pleiades/core_ext/line/bot/event/message.rb