Module: Line::Bot::API::SendContent
- Includes:
- Constants
- Included in:
- Line::Bot::API
- Defined in:
- lib/line/bot/api/send_content.rb
Constant Summary
Constant Summary
Constants included
from Constants
Constants::POST_EVENT_API_CHANEL_ID
Instance Method Summary
(collapse)
Instance Method Details
- (Object) send_audio(mids, content_params)
36
37
38
|
# File 'lib/line/bot/api/send_content.rb', line 36
def send_audio(mids, content_params)
perform_sending_message_request(mids, ContentType::AUDIO, content_params)
end
|
- (Object) send_image(mids, content_params)
20
21
22
|
# File 'lib/line/bot/api/send_content.rb', line 20
def send_image(mids, content_params)
perform_sending_message_request(mids, ContentType::IMAGE, content_params)
end
|
- (Object) send_location(mids, content_params)
46
47
48
|
# File 'lib/line/bot/api/send_content.rb', line 46
def send_location(mids, content_params)
perform_sending_message_request(mids, ContentType::LOCATION, content_params)
end
|
- (Object) send_sticker(mids, content_params)
55
56
57
|
# File 'lib/line/bot/api/send_content.rb', line 55
def send_sticker(mids, content_params)
perform_sending_message_request(mids, ContentType::STICKER, content_params)
end
|
- (Object) send_text(mids, content_params)
12
13
14
|
# File 'lib/line/bot/api/send_content.rb', line 12
def send_text(mids, content_params)
perform_sending_message_request(mids, ContentType::TEXT, content_params)
end
|
- (Object) send_video(mids, content_params)
28
29
30
|
# File 'lib/line/bot/api/send_content.rb', line 28
def send_video(mids, content_params)
perform_sending_message_request(mids, ContentType::VIDEO, content_params)
end
|