LINE. Bot. Liff
(line_bot_sdk v0.2.0)
Copy Markdown
API calls for all endpoints tagged Liff.
Summary
Functions
Create LIFF app Adding the LIFF app to a channel
Delete LIFF app from a channel Deletes a LIFF app from a channel.
Get all LIFF apps Gets information on all the LIFF apps added to the channel.
Create a new Liff client.
Update LIFF app from a channel Update LIFF app settings
Functions
Create LIFF app Adding the LIFF app to a channel
Parameters
client(Req.Request.t/0): Client to make request withadd_liff_app_request(t:AddLiffAppRequest/0):client_opts(keyword/0): Options to pass toReq.request
Returns
{:ok, LINE.Bot.Model.AddLiffAppResponse.t}on success{:error, Req.Response.t}on failure
Delete LIFF app from a channel Deletes a LIFF app from a channel.
Parameters
client(Req.Request.t/0): Client to make request withliff_id(String.t/0): ID of the LIFF app to be updatedclient_opts(keyword/0): Options to pass toReq.request
Returns
{:ok, nil}on success{:error, Req.Response.t}on failure
Get all LIFF apps Gets information on all the LIFF apps added to the channel.
Parameters
client(Req.Request.t/0): Client to make request withclient_opts(keyword/0): Options to pass toReq.request
Returns
{:ok, LINE.Bot.Model.GetAllLiffAppsResponse.t}on success{:error, Req.Response.t}on failure
Create a new Liff client.
Options
:base_url- base URL for requests (default:"https://api.line.me/"):channel_token(required) - channel access token for Bearer authorization:plug- plug to use for testing (seeReq.new/1)
Update LIFF app from a channel Update LIFF app settings
Parameters
client(Req.Request.t/0): Client to make request withliff_id(String.t/0): ID of the LIFF app to be updatedupdate_liff_app_request(t:UpdateLiffAppRequest/0):client_opts(keyword/0): Options to pass toReq.request
Returns
{:ok, nil}on success{:error, Req.Response.t}on failure