class Line::Bot::Event::Message

Public Instance Methods

sticker_ids() click to toggle source

ユーザの送信スタンプのids(パッケージID、スタンプID)

@return EXAMPLE [“1”, “1”]

# File lib/pleiades/core_ext/line/bot/event/message.rb, line 18
def sticker_ids
  [message.package_id, message.sticker_id]
end
text() click to toggle source

ユーザの送信メッセージ

@return EXAMPLE 'Hello world.'

# File lib/pleiades/core_ext/line/bot/event/message.rb, line 10
def text
  message.text
end