NAME
LINE::Bot::Audience
rename_audience({ description => "...", audience_group_id => "..." })
Renames an existing audience.
See also the API reference of this method: https://developers.line.biz/en/reference/messaging-api/#set-description-audience-group
create_audience_for_uploading({ description => "...", isIfaAudience => "...", audiences => [{ id => "..." }, ... ] })
Creates an audience for uploading user IDs. `description` is required parameter. the others are optional. 'audiences' is a part of this method argument, and this argument need to be ArrayRef like below.
[
{
id => 123
},
{
id => 124
}
]
See also the API reference of this method: https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group
get_data_for_multiple_audience({ page => "...", description => "...", status => "IN_PROGRESS|READY|FAILED|EXPIRED", size => "...", includesExternalPublicGroups => "true|false", createRoute => "OA_MANAGER|MESSAGING_API" })
Gets data for more than one audience. See also the API reference of this method: https://developers.line.biz/en/reference/messaging-api/#get-audience-groups
get_audience_data({ audienceGroupId => "..." })
Gets audience data. See also the API reference of this method: https://developers.line.biz/en/reference/messaging-api/#get-audience-group
About response, prepared some alias of snake_case on LINE::Bot::API::Response::AudienceData. "jobs" is a part of response object, and it is array of hash. See also detail response: https://developers.line.biz/en/reference/messaging-api/#response-25
delete_audience({ audienceGroupId => "..." })
Deletes an audience.
See also the API reference of this method: https://developers.line.biz/en/reference/messaging-api/#delete-audience-group
create_audience_for_click_based_retartgeting({ description => "...", requestId => "...", clickUrl => "..." })
Creates an audience for click-based retargeting. You can create up to 1,000 audiences. A click-based retargeting audience is a collection of users who have clicked a URL contained in a broadcast or narrowcast message. Use a request ID to identify the message. The message is sent to any user who has clicked at least one link.
See also the API reference of this method: https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group
create_audience_for_impression_based_retargeting({ description => "...", requestId => "..." })
Creates an audience for impression-based retargeting. You can create up to 1,000 audiences. An impression-based retargeting audience is a collection of users who have viewed a broadcast or narrowcast message. Use a request ID to specify the message. The audience will include any user who has viewed at least one message bubble.
See also the API reference of this method: https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group
get_authority_level()
Get the authority level of the audience See also the API reference of this method: https://developers.line.biz/en/reference/messaging-api/#get-authority-level