Work with Messages

Use the Message classes to work with messages in a channel or conversation.

Represents a message in a channel or conversation.

The following are methods for Message.

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: Slack.BotProfile

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: Slack.Message.MessageItem

Signature

Return Value

Type: Slack.Message.Edited

Signature

Return Value

Type: Slack.File

Signature

Return Value

Type: List<Slack.File>

Signature

Return Value

Type: Slack.Message.Icons

Signature

Return Value

Type: String

Signature

Return Value

Type: Slack.Message.MessageItem

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: List<String>

Signature

Return Value

Type: String

Signature

Return Value

Type: List<Slack.Reaction>

Signature

Return Value

Type: Integer

Signature

Return Value

Type: List<String>

Signature

Return Value

Type: Integer

Signature

Return Value

Type: Slack.Message.MessageRoot

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: List<String>

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Parameters

botId

Type: String

Return Value

Type: void

Signature

Parameters

botLink

Type: String

Return Value

Type: void

Signature

Parameters

botProfile

Type: Slack.BotProfile

Return Value

Type: void

Signature

Parameters

channel

Type: String

Return Value

Type: void

Signature

Parameters

clientMsgId

Type: String

Return Value

Type: void

Signature

Parameters

comment

Type: Slack.Message.MessageItem

Return Value

Type: void

Signature

Parameters

displayAsBot

Type: Boolean

Return Value

Type: void

Signature

Parameters

edited

Type: Slack.Message.Edited

Return Value

Type: void

Signature

Parameters

file

Type: Slack.File

Return Value

Type: void

Signature

Parameters

files

Type: List<Slack.File>

Return Value

Type: void

Signature

Parameters

hidden

Type: Boolean

Return Value

Type: void

Signature

Parameters

icons

Type: Slack.Message.Icons

Return Value

Type: void

Signature

Parameters

intro

Type: Boolean

Return Value

Type: void

Signature

Parameters

inviter

Type: String

Return Value

Type: void

Signature

Parameters

item

Type: Slack.Message.MessageItem

Return Value

Type: void

Signature

Parameters

itemType

Type: String

Return Value

Type: void

Signature

Parameters

lastRead

Type: String

Return Value

Type: void

Signature

Parameters

latestReply

Type: String

Return Value

Type: void

Signature

Parameters

locked

Type: Booleean

Return Value

Type: void

Signature

Parameters

parentUserId

Type: String

Return Value

Type: void

Signature

Parameters

pinnedTo

Type: List<String>

Return Value

Type: void

Signature

Parameters

purpose

Type: String

Return Value

Type: void

Signature

Parameters

reactions

Type: List<Slack.Reaction>

Return Value

Type: void

Signature

Parameters

replyCount

Type: Integer

Return Value

Type: void

Signature

Parameters

replyUsers

Type: List<String>

Return Value

Type: void

Signature

Parameters

replyUsersCount

Type: Integer

Return Value

Type: void

Signature

Parameters

root

Type: Slack.Message.MessageRoot

Return Value

Type: void

Signature

Parameters

starred

Type: Boolean

Return Value

Type: void

Signature

Parameters

subscribed

Type: Boolean

Return Value

Type: void

Signature

Parameters

subtype

Type: String

Return Value

Type: void

Signature

Parameters

team

Type: String

Return Value

Type: void

Signature

Parameters

text

Type: String

Return Value

Type: void

Signature

Parameters

threadBroadcast

Type: Boolean

Return Value

Type: void

Signature

Parameters

threadTs

Type: String

Return Value

Type: void

Signature

Parameters

topic

Type: String

Return Value

Type: void

Signature

Parameters

ts

Type:

Return Value

Type: void

Signature

Parameters

type

Type:

Return Value

Type: void

Signature

Parameters

unfurlLinks

Type:

Return Value

Type: void

Signature

Parameters

unfurlMedia

Type: Boolean

Return Value

Type: void

Signature

Parameters

upload

Type: Boolean

Return Value

Type: void

Signature

Parameters

user

Type: String

Return Value

Type: void

Signature

Parameters

username

Type: String

Return Value

Type: void

Signature

Parameters

wibblr

Type:

Return Value

Type: void

Signature

Parameters

xFiles

Type: List<String>

Return Value

Type: void


The following are methods for Message.Edited.

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Parameters

user

Type: String

Return Value

Type: void


The following are methods for Message.Icons.

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Parameters

emoji

Type: String

Return Value

Type: void

Signature

Parameters

image36

Type: String

Return Value

Type: void

Signature

Parameters

image48

Type: String

Return Value

Type: void

Signature

Parameters

image64

Type: String

Return Value

Type: void

Signature

Parameters

image72

Type: String

Return Value

Type: void


The following are methods for Message.MessageItem.

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: Integer

Signature

Return Value

Type: Integer

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: Integer

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: Boolean

Signature

Parameters

comment

Type: String

Return Value

Type: void

Signature

Parameters

created

Type: String

Return Value

Type: void

Signature

Parameters

displayAsBot

Type: Boolean

Return Value

Type: void

Signature

Parameters

editable

Type: Boolean

Return Value

Type: void

Signature

Parameters

editLink

Type: String

Return Value

Type: void

Signature

Parameters

external

Type: Boolean

Return Value

Type: void

Signature

Parameters

externalType

Type: String

Return Value

Type: void

Signature

Parameters

filetype

Type: String

Return Value

Type: void

Signature

Parameters

hasRichPreview

Type: Boolean

Return Value

Type: void

Signature

Parameters

id

Type: String

Return Value

Type: void

Signature

Parameters

intro

Type: Boolean

Return Value

Type: void

Signature

Parameters

lines

Type: Integer

Return Value

Type: void

Signature

Parameters

linesMore

Type: Integer

Return Value

Type: void

Signature

Parameters

mimetype

Type: String

Return Value

Type: void

Signature

Parameters

mode

Type: String

Return Value

Type: void

Signature

Parameters

name

Type: String

Return Value

Type: void

Signature

Parameters

permalink

Type: String

Return Value

Type: void

Signature

Parameters

permalinkPublic

Type: Boolean

Return Value

Type: void

Signature

Parameters

prettyType

Type: String

Return Value

Type: void

Signature

Parameters

preview

Type: String

Return Value

Type: void

Signature

Parameters

previewHighlight

Type: String

Return Value

Type: void

Signature

Parameters

previewTruncated

Type: Boolean

Return Value

Type: void

Signature

Parameters

_public

Type: Boolean

Return Value

Type: void

Signature

Parameters

publicUrlShared

Type: Boolean

Return Value

Type: void

Signature

Parameters

size

Type: Integer

Return Value

Type: void

Signature

Parameters

starred

Type: Boolean

Return Value

Type: void

Signature

Parameters

timestamp

Type: String

Return Value

Type: void

Signature

Parameters

title

Type: String

Return Value

Type: void

Signature

Parameters

urlPrivate

Type: String

Return Value

Type: void

Signature

Parameters

urlPrivateDownload

Type: Boolean

Return Value

Type: void

Signature

Parameters

user

Type: String

Return Value

Type: void

Signature

Parameters

username

Type: String

Return Value

Type: void


The following are methods for Message.MessageRoot.

Signature

Return Value

Type: String

Signature

Return Value

Type: Slack.BotProfile

Signature

Return Value

Type: Slack.Message.Edited

Signature

Return Value

Type: Slack.Message.Icons

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: Integer

Signature

Return Value

Type: List<String>

Signature

Return Value

Type: Integer

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: Integer

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Return Value

Type: Boolean

Signature

Return Value

Type: String

Signature

Parameters

botId

Type: String

Return Value

Type: void

Signature

Parameters

botProfile

Type: Slack.BotProfile

Return Value

Type: void

Signature

Parameters

edited

Type: Slack.Message.Edited

Return Value

Type: void

Signature

Parameters

icons

Type: Slack.Message.Icons

Return Value

Type: void

Signature

Parameters

lastRead

Type: String

Return Value

Type: void

Signature

Parameters

latestReply

Type: String

Return Value

Type: void

Signature

Parameters

mrkdwn

Type: Boolean

Return Value

Type: void

Signature

Parameters

parentUserId

Type: String

Return Value

Type: void

Signature

Parameters

replyCount

Type: Integer

Return Value

Type: void

Signature

Parameters

replyUsers

Type: List<String>

Return Value

Type: void

Signature

Parameters

replyUsersCount

Type: Integer

Return Value

Type: void

Signature

Parameters

subscribed

Type: Boolean

Return Value

Type: void

Signature

Parameters

subtype

Type: String

Return Value

Type: void

Signature

Parameters

team

Type: String

Return Value

Type: void

Signature

Parameters

text

Type: String

Return Value

Type: void

Signature

Parameters

threadTs

Type: String

Return Value

Type: void

Signature

Parameters

ts

Type: String

Return Value

Type: void

Signature

Parameters

type

Type: String

Return Value

Type: void

Signature

Parameters

unreadCount

Type: Integer

Return Value

Type: void

Signature

Parameters

user

Type: String

Return Value

Type: void

Signature

Parameters

username

Type: String

Return Value

Type: void

The following are methods for Message.MessageRootReply.

Signature

Return Value

Type: String

Signature

Return Value

Type: String

Signature

Parameters

ts

Type: String

Return Value

Type: void

Signature

Parameters

user

Type: String

Return Value

Type: void