Interface RetryableLineMessagingClient

All Known Implementing Classes:
RetryableLineMessagingClientImpl

public interface RetryableLineMessagingClient
  • Method Details

    • pushMessage

      CompletableFuture<com.linecorp.bot.model.response.BotApiResponse> pushMessage(UUID retryKey, com.linecorp.bot.model.PushMessage pushMessage)
      Send messages to users when you want to.

      INFO: Use of the Push Message API is limited to certain plans.

      See Also:
    • multicast

      CompletableFuture<com.linecorp.bot.model.response.BotApiResponse> multicast(UUID retryKey, com.linecorp.bot.model.Multicast multicast)
      Send messages to multiple users at any time. IDs of groups or rooms cannot be used.

      INFO: Only available for plans which support push messages. Messages cannot be sent to groups or rooms.

      INFO: Use IDs returned via the webhook event of source users. IDs of groups or rooms cannot be used. Do not use the LINE ID found on the LINE app.

      See Also:
    • broadcast

      CompletableFuture<com.linecorp.bot.model.response.BotApiResponse> broadcast(UUID retryKey, com.linecorp.bot.model.Broadcast broadcast)
      Sends push messages to multiple users at any time. Note: LINE@ accounts cannot call this API endpoint. Please migrate it to a LINE official account. For more information, see Migration of LINE@ accounts.
    • narrowcast

      CompletableFuture<com.linecorp.bot.model.response.BotApiResponse> narrowcast(UUID retryKey, com.linecorp.bot.model.Narrowcast broadcast)
      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.

      Note: LINE-@ accounts cannot call this API endpoint. Please migrate it to a LINE official account. For more information, see Migration of LINE@ accounts.

    • builder

      static RetryableLineMessagingClientBuilder builder(String channelToken)
    • builder

      static RetryableLineMessagingClientBuilder builder(ChannelTokenSupplier channelTokenSupplier)