Interface MessengerConnectorStatusSender
- All Known Subinterfaces:
MessengerConnector
public interface MessengerConnectorStatusSender
The
MessengerConnectorStatusSender
is an interface that implements
the callback event functions triggered when statuses need to be sent.- Since:
- 12.20
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
sendReadStatus
(OutgoingMessengerMessageReadStatusInfo outgoingMessengerMessageReadStatusInfo) The method is called to send a read status back to its source or any other destination that can be addressed by this MessengerConnector.default void
sendTypingStatus
(OutgoingMessengerConversationTypingStatusInfo outgoingMessengerConversationTypingStatusInfo) The method is called to send a typing status back to its source or any other destination that can be addressed by this MessengerConnector.
-
Method Details
-
sendTypingStatus
default void sendTypingStatus(OutgoingMessengerConversationTypingStatusInfo outgoingMessengerConversationTypingStatusInfo) throws MessengerConnectorPermanentSendException, MessengerConnectorTemporarySendException The method is called to send a typing status back to its source or any other destination that can be addressed by this MessengerConnector.- Parameters:
outgoingMessengerConversationTypingStatusInfo
- theOutgoingMessengerConversationTypingStatusInfo
object containing the status to be sent and additional information about the status- Throws:
MessengerConnectorPermanentSendException
- Throw a MessengerConnectorPermanentSendException to indicate a permanent error.MessengerConnectorTemporarySendException
- Throw a MessengerConnectorTemporarySendException to indicate a temporary error.- Since:
- 12.20
-
sendReadStatus
default void sendReadStatus(OutgoingMessengerMessageReadStatusInfo outgoingMessengerMessageReadStatusInfo) throws MessengerConnectorPermanentSendException, MessengerConnectorTemporarySendException The method is called to send a read status back to its source or any other destination that can be addressed by this MessengerConnector.- Parameters:
outgoingMessengerMessageReadStatusInfo
- theOutgoingMessengerMessageReadStatusInfo
object containing the status to be sent and additional information about the status- Throws:
MessengerConnectorPermanentSendException
- Throw a MessengerConnectorPermanentSendException to indicate a permanent error.MessengerConnectorTemporarySendException
- Throw a MessengerConnectorTemporarySendException to indicate a temporary error.- Since:
- 12.20
-