Method: Line::Bot::V2::MessagingApi::ApiClient#push_message
- Defined in:
- lib/line/bot/v2/messaging_api/api/messaging_api_client.rb
#push_message(push_message_request:, x_line_retry_key: nil) ⇒ Line::Bot::V2::MessagingApi::PushMessageResponse, ...
Sends a message to a user, group chat, or multi-person chat at any time. This requests to POST https://api.line.me/v2/bot/message/push When you want to get HTTP status code or response headers, use #push_message_with_http_info instead of this.
2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 |
# File 'lib/line/bot/v2/messaging_api/api/messaging_api_client.rb', line 2843 def ( push_message_request:, x_line_retry_key: nil ) response_body, _status_code, _headers = ( push_message_request: , x_line_retry_key: x_line_retry_key ) response_body end |