パッケージ com.linecorp.bot.model
クラス ReplyMessage
- java.lang.Object
-
- com.linecorp.bot.model.ReplyMessage
-
public final class ReplyMessage extends java.lang.Object
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.
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 ReplyMessage(java.lang.String replyToken, Message message)
ReplyMessage(java.lang.String replyToken, Message message, boolean notificationDisabled)
ReplyMessage(java.lang.String replyToken, java.util.List<Message> messages)
ReplyMessage(java.lang.String replyToken, java.util.List<Message> messages, boolean notificationDisabled)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 boolean
equals(java.lang.Object o)
java.util.List<Message>
getMessages()
List of messages.java.lang.String
getReplyToken()
replyToken received via webhook.int
hashCode()
boolean
isNotificationDisabled()
Whether sends a push notification to message receivers or not.java.lang.String
toString()
-
-
-
コンストラクタの詳細
-
ReplyMessage
public ReplyMessage(java.lang.String replyToken, Message message)
-
ReplyMessage
public ReplyMessage(java.lang.String replyToken, java.util.List<Message> messages)
-
ReplyMessage
public ReplyMessage(java.lang.String replyToken, Message message, boolean notificationDisabled)
-
ReplyMessage
public ReplyMessage(java.lang.String replyToken, java.util.List<Message> messages, boolean notificationDisabled)
-
-
メソッドの詳細
-
getReplyToken
public java.lang.String getReplyToken()
replyToken received via webhook.
-
getMessages
public java.util.List<Message> 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
public boolean equals(java.lang.Object o)
- オーバーライド:
equals
クラス内java.lang.Object
-
hashCode
public int hashCode()
- オーバーライド:
hashCode
クラス内java.lang.Object
-
toString
public java.lang.String toString()
- オーバーライド:
toString
クラス内java.lang.Object
-
-