Interface ExternalSenderProvider
- All Known Subinterfaces:
IncomingMessengerConversationTypingStatus
,IncomingReceivedMessengerAudioDataMessage
,IncomingReceivedMessengerAudioUrlMessage
,IncomingReceivedMessengerFileDataMessage
,IncomingReceivedMessengerFileUrlMessage
,IncomingReceivedMessengerImageDataMessage
,IncomingReceivedMessengerImageUrlMessage
,IncomingReceivedMessengerMediaDataMessage
,IncomingReceivedMessengerMediaUrlMessage
,IncomingReceivedMessengerMessage
,IncomingReceivedMessengerRawMessage
,IncomingReceivedMessengerTextMessage
,IncomingReceivedMessengerVideoDataMessage
,IncomingReceivedMessengerVideoUrlMessage
public interface ExternalSenderProvider
Represents an object, that has an external sender
- Since:
- 12.20
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional
<ContactIdentifier> This method allows to define additional contact information which will be used as secondary search criteria while searching an existing contact.A unique identifier of the sender / from of the message or status.The name of the sender / from of the message or status.
-
Method Details
-
getFromId
String getFromId()A unique identifier of the sender / from of the message or status.- Returns:
- the id of the sender / from of the message or status
- Since:
- 12.20
-
getFromName
String getFromName()The name of the sender / from of the message or status.- Returns:
- the name of the sender / from of the message or status
- Since:
- 12.20
-
getContactIdentifier
This method allows to define additional contact information which will be used as secondary search criteria while searching an existing contact. The attributes will be assigned to the existing or newly created contact.- Returns:
- the optional contact identifier or an empty optional if no contact identifier is provided
- Since:
- 12.20
-