-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorMessage,ai.tock.bot.connector.ConnectorMessageProvider
public final class PassThreadControlWebhook extends Webhook
See https://developers.facebook.com/docs/messenger-platform/reference/webhook-events/messaging_handovers#pass_thread_control.
-
-
Field Summary
Fields Modifier and Type Field Description private final Sendersenderprivate final Recipientrecipientprivate final Longtimestampprivate final PassThreadControlpassThreadControlprivate final PriorMessagepriorMessageprivate final ConnectorTypeconnectorType
-
Constructor Summary
Constructors Constructor Description PassThreadControlWebhook(Sender sender, Recipient recipient, Long timestamp, PassThreadControl passThreadControl)
-
Method Summary
Modifier and Type Method Description final Sendercomponent1()final Recipientcomponent2()final Longcomponent3()final PassThreadControlcomponent4()final PassThreadControlWebhookcopy(Sender sender, Recipient recipient, Long timestamp, PassThreadControl passThreadControl)SendergetSender()RecipientgetRecipient()LonggetTimestamp()final PassThreadControlgetPassThreadControl()PriorMessagegetPriorMessage()ConnectorTypegetConnectorType()-
Methods inherited from class ai.tock.bot.connector.messenger.model.handover.PassThreadControlWebhook
playerId, recipientId, toGenericMessage -
Methods inherited from class ai.tock.bot.connector.messenger.model.webhook.Webhook
findElements -
Methods inherited from class ai.tock.bot.connector.ConnectorMessageProvider
equals, hashCode, toString -
Methods inherited from class ai.tock.bot.connector.messenger.model.MessengerConnectorMessage
obfuscate, toConnectorMessage -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PassThreadControlWebhook
PassThreadControlWebhook(Sender sender, Recipient recipient, Long timestamp, PassThreadControl passThreadControl)
-
-
Method Detail
-
component1
final Sender component1()
-
component2
final Recipient component2()
-
component3
final Long component3()
-
component4
final PassThreadControl component4()
-
copy
final PassThreadControlWebhook copy(Sender sender, Recipient recipient, Long timestamp, PassThreadControl passThreadControl)
-
getRecipient
Recipient getRecipient()
-
getTimestamp
Long getTimestamp()
-
getPassThreadControl
final PassThreadControl getPassThreadControl()
-
getPriorMessage
PriorMessage getPriorMessage()
-
getConnectorType
ConnectorType getConnectorType()
-
-
-
-