Class NewsfeedAssignment.Builder

    • Method Detail

      • newsfeedId

        public NewsfeedAssignment.PublishedAtStage newsfeedId​(int 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).

        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).

        Specified by:
        newsfeedId in interface NewsfeedAssignment.NewsfeedIdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • publishedAt

        public NewsfeedAssignment._FinalStage publishedAt​(int 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".

        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".

        Specified by:
        publishedAt in interface NewsfeedAssignment.PublishedAtStage
        Returns:
        Reference to this so that method calls can be chained together.