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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.Optional<ContactIdentifier>
getContactIdentifier()
This method allows to define additional contact information which will be used as secondary search criteria while searching an existing contact.java.lang.String
getToId()
A unique identifier of the receiver / to of the message or status.java.lang.String
getToName()
The name of the receiver / to of the message or status.
-
-
-
Method Detail
-
getToId
java.lang.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
java.lang.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
default java.util.Optional<ContactIdentifier> 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
-
-