LINE. Bot. MessagingApiBlob
(line_bot_sdk v0.1.0)
Copy Markdown
API calls for all endpoints tagged MessagingApiBlob.
Summary
Functions
Download image, video, and audio data sent from users.
Get a preview image of the image or video
Verify the preparation status of a video or audio for getting
Download rich menu image.
Create a new MessagingApiBlob client.
Upload rich menu image
Functions
Download image, video, and audio data sent from users.
Parameters
client(Req.Request.t/0): Client to make request withmessage_id(String.t/0): Message ID of video or audioclient_opts(keyword/0): Options to pass toReq.request
Returns
{:ok, String.t}on success{:error, Req.Response.t}on failure
Get a preview image of the image or video
Parameters
client(Req.Request.t/0): Client to make request withmessage_id(String.t/0): Message ID of image or videoclient_opts(keyword/0): Options to pass toReq.request
Returns
{:ok, String.t}on success{:error, Req.Response.t}on failure
Verify the preparation status of a video or audio for getting
Parameters
client(Req.Request.t/0): Client to make request withmessage_id(String.t/0): Message ID of video or audioclient_opts(keyword/0): Options to pass toReq.request
Returns
{:ok, LINE.Bot.Model.GetMessageContentTranscodingResponse.t}on success{:error, Req.Response.t}on failure
Create a new MessagingApiBlob 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)