Class RawMessagesClient
- java.lang.Object
-
- com.intercom.api.resources.messages.RawMessagesClient
-
public class RawMessagesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawMessagesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntercomHttpResponse<Message>create()You can create a message that has been initiated by an admin.IntercomHttpResponse<Message>create(java.util.Optional<CreateMessageRequest> request)You can create a message that has been initiated by an admin.IntercomHttpResponse<Message>create(java.util.Optional<CreateMessageRequest> request, RequestOptions requestOptions)You can create a message that has been initiated by an admin.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawMessagesClient
public RawMessagesClient(ClientOptions clientOptions)
-
-
Method Detail
-
create
public IntercomHttpResponse<Message> create()
You can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email.🚧 Sending for visitors
There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case.
This will return the Message model that has been created.
🚧 Retrieving Associated Conversations
As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.
-
create
public IntercomHttpResponse<Message> create(java.util.Optional<CreateMessageRequest> request)
You can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email.🚧 Sending for visitors
There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case.
This will return the Message model that has been created.
🚧 Retrieving Associated Conversations
As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.
-
create
public IntercomHttpResponse<Message> create(java.util.Optional<CreateMessageRequest> request, RequestOptions requestOptions)
You can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email.🚧 Sending for visitors
There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case.
This will return the Message model that has been created.
🚧 Retrieving Associated Conversations
As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.
-
-