LINE Messaging API SDK for Java
In the Messaging API, we've added a new endpoint that allows you to display a loading animation. After your LINE Official Account receives a message from a user, the response may takes some time due to message preparation or reservation processing. In such cases, you can visually tell the user that you want them to wait by displaying a loading animation.
news: https://developers.line.biz/en/news/2024/04/17/loading-indicator/
https://github.com/line/line-openapi/pull/54
Full Changelog: https://github.com/line/line-bot-sdk-java/compare/8.5.0...8.6.0
We're excited to announce that the Membership API is now available in the Messaging API. With this update, our SDK also supports the use of this API. For more details, check out the announcement: https://developers.line.biz/en/news/2024/03/28/re-release-endpoints-for-membership
Full Changelog: https://github.com/line/line-bot-sdk-java/compare/8.4.0...8.5.0
In the Messaging API, you can now determine whether a user has added your LINE Official Account as a friend or unblocked by a webhook follow event.
Full Changelog: https://github.com/line/line-bot-sdk-java/compare/8.3.1...8.4.0
In the Messaging API, we've added the clipboard action for users to copy text to the clipboard. This new feature allows users to more easily copy coupon codes and other text.
news: https://developers.line.biz/en/news/2024/02/05/messaging-api-updated/
Note only the latest app(version >= 14.0.0
) supports this feature. Please update your LINE app to try this feature.
I made a mistake in the release procedure. In the version before the correction, you cannot use the clipboard action. (in https://github.com/line/line-bot-sdk-java/releases/tag/8.3.0)
Full Changelog: https://github.com/line/line-bot-sdk-java/compare/8.3.0...8.3.1
In the Messaging API, we've added the clipboard action for users to copy text to the clipboard. This new feature allows users to more easily copy coupon codes and other text.
news: https://developers.line.biz/en/news/2024/02/05/messaging-api-updated/
Note only the latest app(version >= 14.0.0
) supports this feature. Please update your LINE app to try this feature.
Full Changelog: https://github.com/line/line-bot-sdk-java/compare/8.2.0...8.3.0
UploadFile#fromByteArray
to upload file from byte array. https://github.com/line/line-bot-sdk-java/pull/1224
*ClientException
has getDetails
method but error response doesn't contain details
field https://github.com/line/line-bot-sdk-java/pull/1225 (issue: https://github.com/line/line-bot-sdk-java/issues/1223)Full Changelog: https://github.com/line/line-bot-sdk-java/compare/8.1.0...8.2.0
We have now added support for a Webhook (PnpDeliveryCompletionEvent
) that can be received once a message is successfully sent via PNP.
Full Changelog: https://github.com/line/line-bot-sdk-java/compare/8.0.1...8.1.0
Full Changelog: https://github.com/line/line-bot-sdk-java/compare/8.0.0...8.0.1
Full Changelog: https://github.com/line/line-bot-sdk-java/compare/7.10.0...8.0.0
Starting from version 7.10.0, you can now use the Builder
. Required fields must be passed to the Builder
. Optional fields can be added individually. Here is an example of ReplyMessageRequest
:
messagingApiClient.replyMessage(
ReplyMessageRequest.Builder(event.replyToken, listOf(TextMessage("hello")))
.notificationDisabled(false)
.build()
)
In this version, we have introduced the Builder
pattern to make it easier to create instances of ReplyMessageRequest
. This pattern allows you to specify only the parameters you need, making your code cleaner and easier to read.
Full Changelog: https://github.com/line/line-bot-sdk-java/compare/7.9.0...7.10.0