Skip to content

Conversation

@thewheat
Copy link
Contributor

@thewheat thewheat commented Oct 9, 2018

Why?

Snoozing and reading related attributes (snoozed_until and state) are not currently supported

How?

Added appropriate code to be able to snooze conversation and to read the conversation model for snooze attributes

@choran choran added the java label Oct 15, 2018
private boolean read;

@JsonProperty("state")
private String state;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's that property used for in the context of snoozing? There's no setter, is that expected?

Copy link
Contributor

@mmartinic mmartinic Oct 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This maps to conversation state (open, closed, snoozed). We also have open )
which is boolean but that no longer fits with snoozed state.

https://developers.intercom.com/intercom-api-reference/reference#conversation-model

Copy link

@apassant apassant Oct 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense 👍 LGTM then

Copy link
Contributor

@mmartinic mmartinic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM unless @apassant has any objections

@choran choran merged commit 8584257 into master Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants