All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.slack.client.models.LiteMessageIF Maven / Gradle / Ivy

package com.hubspot.slack.client.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategies.SnakeCaseStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.hubspot.immutables.style.HubSpotStyle;
import com.hubspot.slack.client.models.blocks.Block;
import com.hubspot.slack.client.models.files.SlackFile;
import java.util.List;
import java.util.Optional;
import org.immutables.value.Value.Immutable;

@Immutable
@HubSpotStyle
@JsonNaming(SnakeCaseStrategy.class)
public interface LiteMessageIF {
  String getType();

  Optional getSubtype();

  Optional getUser();

  Optional getBotId();

  Optional getUsername();

  String getText();

  List getAttachments();

  List getFiles();

  List getBlocks();

  List getReactions();

  @JsonProperty("ts")
  String getTimestamp();

  @JsonProperty("thread_ts")
  Optional getThreadTimestamp();

  Optional getReplyCount();

  @JsonProperty("reply_users")
  Optional> getReplyUserIds();

  Optional getReplyUsersCount();

  @JsonProperty("latest_reply")
  Optional getLatestReplyTimestamp();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy