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