Class NewsfeedAssignment.Builder

  • Enclosing class:
    NewsfeedAssignment

    public static final class NewsfeedAssignment.Builder
    extends java.lang.Object
    • Method Detail

      • newsfeedId

        public NewsfeedAssignment.Builder newsfeedId​(java.util.Optional<java.lang.Integer> newsfeedId)

        The unique identifier for the newsfeed which is given by Intercom. Publish dates cannot be in the future, to schedule news items use the dedicated feature in app (see this article).

      • publishedAt

        public NewsfeedAssignment.Builder publishedAt​(java.util.Optional<java.lang.Integer> publishedAt)

        Publish date of the news item on the newsfeed, use this field if you want to set a publish date in the past (e.g. when importing existing news items). On write, this field will be ignored if the news item state is "draft".