LINE::Bot::Message::Narrowcast
send_message($messages, $recipient, $demographic, $limit)
Sends a push message to multiple users. You can specify recipients using attributes (such as age, gender, OS, and region) or by retargeting (audiences). Messages cannot be sent to groups or rooms.
See also the API reference of this method: https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message
get_narrowcast_message_status($request_id)
Gets the status of a narrowcast message.
See also the API reference of this method: https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status
To install LINE::Bot::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LINE::Bot::API
CPAN shell
perl -MCPAN -e shell install LINE::Bot::API
For more information on module installation, please visit the detailed CPAN module installation guide.