NAME

LINE::Bot::Message::Narrowcast

Methods

send_message($messages, $recipient, $demographic, $limit, $options)

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.

The last parameter $options is an HashRef with a list of key-values pairs to fine-tune the behaviour of this message. At the moment, the only defined configurable option is "retry_key", which requires an UUID string for its value. See the section "Handling Retries" in LINE::Bot::API for the meaning of this particular option.

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