Method: Line::Bot::V2::Liff::ApiClient#update_liff_app

Defined in:
lib/line/bot/v2/liff/api/liff_client.rb

#update_liff_app(liff_id:, update_liff_app_request:) ⇒ String?

Update LIFF app settings This requests to PUT https://api.line.me/liff/v1/apps/{liffId} When you want to get HTTP status code or response headers, use #update_liff_app_with_http_info instead of this.

Parameters:

  • liff_id (String)

    ID of the LIFF app to be updated

  • update_liff_app_request (UpdateLiffAppRequest)

Returns:

  • (String, nil)

    when HTTP status code is 200

  • (String, nil)

    when HTTP status code is 400

  • (String, nil)

    when HTTP status code is 401

  • (String, nil)

    when HTTP status code is 404

  • (String, nil)

    when other HTTP status code is returned. This String is HTTP response body itself.

See Also:



258
259
260
261
262
263
264
265
266
267
268
# File 'lib/line/bot/v2/liff/api/liff_client.rb', line 258

def update_liff_app(
  liff_id:,
  update_liff_app_request:
)
  response_body, _status_code, _headers = update_liff_app_with_http_info(
    liff_id: liff_id,
    update_liff_app_request: update_liff_app_request
  )

  response_body
end