Module: Line::Bot::API::GetContent

Included in:
Line::Bot::API
Defined in:
lib/line/bot/api/get_content.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) get_message_content(messageId)

Parameters:

  • messageId

    String or Integer



6
7
8
# File 'lib/line/bot/api/get_content.rb', line 6

def get_message_content(messageId)
  perform_get_request "/v1/bot/message/#{messageId}/content", {}
end

- (Object) get_message_content_preview(messageId)



10
11
12
# File 'lib/line/bot/api/get_content.rb', line 10

def get_message_content_preview(messageId)
  perform_get_request "/v1/bot/message/#{messageId}/content/preview", {}
end