MCPcopy Create free account
hub / github.com/rusq/slackdump / IsBotMessage

Method IsBotMessage

types/message.go:38–40  ·  view source on GitHub ↗

IsBotMessage returns true if the message is from a bot.

()

Source from the content-addressed store, hash-verified

36
37// IsBotMessage returns true if the message is from a bot.
38func (m Message) IsBotMessage() bool {
39 return m.BotID != ""
40}
41
42func (m Message) IsThread() bool {
43 return m.ThreadTimestamp != ""

Callers 1

TestMessage_IsBotMessageFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestMessage_IsBotMessageFunction · 0.64