Package com.linecorp.bot.model
Class ReplyMessage
java.lang.Object
com.linecorp.bot.model.ReplyMessage
Respond to events from users, groups, and rooms.
Webhooks are used to notify you when an event occurs. For events that you can respond to, a replyToken is issued for replying to messages.
Because the replyToken becomes invalid after a certain period of time, responses should be sent as soon as a message is received. Reply tokens can only be used once.
-
Constructor Summary
ConstructorDescriptionReplyMessage
(String replyToken, Message message) ReplyMessage
(String replyToken, Message message, boolean notificationDisabled) ReplyMessage
(String replyToken, List<Message> messages) ReplyMessage
(String replyToken, List<Message> messages, boolean notificationDisabled) -
Method Summary
-
Constructor Details
-
ReplyMessage
-
ReplyMessage
-
ReplyMessage
-
ReplyMessage
-
-
Method Details
-
getReplyToken
replyToken received via webhook. -
getMessages
List of messages.Max: 5
-
isNotificationDisabled
public boolean isNotificationDisabled()Whether sends a push notification to message receivers or not. If true, the user doesn't receive a push notification when the message is sent. And if false, the user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). -
equals
-
hashCode
public int hashCode() -
toString
-