Interface ExternalReceiverProvider
- All Known Subinterfaces:
IncomingSentMessengerAudioDataMessage
,IncomingSentMessengerAudioUrlMessage
,IncomingSentMessengerFileDataMessage
,IncomingSentMessengerFileUrlMessage
,IncomingSentMessengerImageDataMessage
,IncomingSentMessengerImageUrlMessage
,IncomingSentMessengerMediaDataMessage
,IncomingSentMessengerMediaUrlMessage
,IncomingSentMessengerMessage
,IncomingSentMessengerRawMessage
,IncomingSentMessengerTextMessage
,IncomingSentMessengerVideoDataMessage
,IncomingSentMessengerVideoUrlMessage
public interface ExternalReceiverProvider
Represents an object, that has an external receiver
- 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.getToId()
A unique identifier of the receiver / to of the message or status.The name of the receiver / to of the message or status.
-
Method Details
-
getToId
String getToId()A unique identifier of the receiver / to of the message or status.- Returns:
- the id of the sender / from of the message or status
- Since:
- 12.20
-
getToName
String getToName()The name of the receiver / to of the message or status.- Returns:
- the name of the receiver / to 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
-