Use the Latest classes to work with the latest message in a channel or conversation.
Latest Class
Represents the latest message.
Latest Methods
The following are methods for Latest.
getBotId()
Signature
public String getBotId()
Return Value
Type: String
getBotLink()
Signature
public String getBotLink()
Return Value
Type: String
getBotProfile()
Signature
public Slack.BotProfile getBotProfile()
Return Value
Type: Slack.BotProfile
getClientMsgId()
Signature
public String getClientMsgId()
Return Value
Type: String
getEdited()
Signature
public Slack.Latest.Edited getEdited()
Return Value
Type: Slack.Latest.Edited
getFiles()
Signature
public List<Slack.File> getFiles()
Return Value
Type: List<Slack.File>
getParentUserId()
Signature
public String getParentUserId()
Return Value
Type: String
getReactions()
Signature
public List<Slack.Reaction> getReactions()
Return Value
Type: List<Slack.Reaction>
getSubtype()
Signature
public String getSubtype()
Return Value
Type: String
getTeam()
Signature
public String getTeam()
Return Value
Type: String
getText()
Signature
public String getText()
Return Value
Type: String
getThreadTs()
Signature
public String getThreadTs()
Return Value
Type: String
getTopic()
Signature
public String getTopic()
Return Value
Type: String
getTs()
Signature
public String getTs()
Return Value
Type: String
getType()
Signature
public String getType()
Return Value
Type: String
getUser()
Signature
public String getUser()
Return Value
Type: String
getUsername()
Signature
public String getUsername()
Return Value
Type: String
getXFiles()
Signature
public List<String> getXFiles()
Return Value
Type: List<String>
isDisplayAsBot()
Signature
public Boolean isDisplayAsBot()
Return Value
Type: Boolean
isUpload()
Signature
public Boolean isUpload()
Return Value
Type: Boolean
setBotId(botId)
Signature
public void setBotId(String botId)
Parameters
botId
Type: String
Return Value
Type: void
setBotLink(botLink)
Signature
public void setBotLink(String botLink)
Parameters
botLink
Type: String
Return Value
Type: void
setBotProfile(botProfile)
Signature
public void setBotProfile(Slack.BotProfile botProfile)
Parameters
botProfile
Type: Slack.BotProfile
Return Value
Type: void
setClientMsgId(clientMsgId)
Signature
public void setClientMsgId(String clientMsgId)
Parameters
clientMsgId
Type: String
Return Value
Type: void
setDisplayAsBot(displayAsBot)
Signature
public void setDisplayAsBot(Boolean displayAsBot)
Parameters
displayAsBot
Type: Boolean
Return Value
Type: void
setEdited(edited)
Signature
public void setEdited(Slack.Latest.Edited edited)
Parameters
edited
Type: Slack.Latest.Edited
Return Value
Type: void
setFiles(files)
Signature
public void setFiles(List<Slack.File> files)
Parameters
files
Type: List<Slack.File>
Return Value
Type: void
setParentUserId(parentUserId)
Signature
public void setParentUserId(String parentUserId)
Parameters
parentUserId
Type: String
Return Value
Type: void
setReactions(reactions)
Signature
public void setReactions(List<Slack.Reaction> reactions)
Parameters
reactions
Type: List<Slack.Reaction>
Return Value
Type: void
setSubtype(subtype)
Signature
public void setSubtype(String subtype)
Parameters
subtype
Type: String
Return Value
Type: void
setTeam(team)
Signature
public void setTeam(String team)
Parameters
team
Type: String
Return Value
Type: void
setText(text)
Signature
public void setText(String text)
Parameters
text
Type: String
Return Value
Type: void
setThreadTs(threadTs)
Signature
public void setThreadTs(String threadTs)
Parameters
threadTs
Type: String
Return Value
Type: void
setTopic(topic)
Signature
public void setTopic(String topic)
Parameters
topic
Type: String
Return Value
Type: void
setTs(ts)
Signature
public void setTs(String ts)
Parameters
ts
Type: String
Return Value
Type: void
setType(type)
Signature
public void setType(String type)
Parameters
type
Type: String
Return Value
Type: void
setUpload(upload)
Signature
public void setUpload(Boolean upload)
Parameters
upload
Type: Boolean
Return Value
Type: void
setUser(user)
Signature
public void setUser(String user)
Parameters
user
Type: String
Return Value
Type: void
setUsername(username)
Signature
public void setUsername(String username)
Parameters
username
Type: String
Return Value
Type: void
setXFiles(xFiles)
Signature
public void setXFiles(List<String> xFiles)
Parameters
xFiles
Type: List<String>
Return Value
Type: void
Latest.Edited Class
Latest.Edited Methods
The following are methods for Latest.Edited.
getTs()
Signature
public String getTs()
Return Value
Type: String
getUser()
Signature
public String getUser()
Return Value
Type: String
setTs(ts)
Signature
public void setTs(String ts)
Parameters
ts
Type: String
Return Value
Type: void
setUser(user)
Signature
public void setUser(String user)
Parameters
user
Type: String
Return Value
Type: void