type Message … // AddReaction provides a mock function with given fields: reaction func (_m *Message) AddReaction(reaction string) { … } // Attachments provides a mock function with given fields: func (_m *Message) Attachments() []common.MessageAttachment { … } // Author provides a mock function with given fields: func (_m *Message) Author() common.UserRecord { … } // AuthorID provides a mock function with given fields: func (_m *Message) AuthorID() common.UserId { … } // Channel provides a mock function with given fields: func (_m *Message) Channel() common.Channel { … } // ChannelID provides a mock function with given fields: func (_m *Message) ChannelID() string { … } // Content provides a mock function with given fields: func (_m *Message) Content() string { … } // Delete provides a mock function with given fields: func (_m *Message) Delete() { … } // DeleteAfter provides a mock function with given fields: duration func (_m *Message) DeleteAfter(duration time.Duration) { … } // FromBot provides a mock function with given fields: func (_m *Message) FromBot() bool { … } // ID provides a mock function with given fields: func (_m *Message) ID() string { … } // ImResponding provides a mock function with given fields: func (_m *Message) ImResponding() { … } // IsReplyTo provides a mock function with given fields: func (_m *Message) IsReplyTo() common.Message { … } // IsReplyToID provides a mock function with given fields: func (_m *Message) IsReplyToID() string { … } // Link provides a mock function with given fields: func (_m *Message) Link() *url.URL { … } // Log provides a mock function with given fields: content func (_m *Message) Log(content string) { … } // LogErr provides a mock function with given fields: content, err func (_m *Message) LogErr(content string, err error) { … } // MentionsRatz provides a mock function with given fields: func (_m *Message) MentionsRatz() bool { … } // MentionsUsers provides a mock function with given fields: func (_m *Message) MentionsUsers() []common.UserRecord { … } // PreviousUserMessage provides a mock function with given fields: func (_m *Message) PreviousUserMessage() common.Message { … } // Reactions provides a mock function with given fields: func (_m *Message) Reactions() []common.MessageReaction { … } // RemoveReaction provides a mock function with given fields: reaction func (_m *Message) RemoveReaction(reaction string) { … } // ReplyWithEmbeds provides a mock function with given fields: content, embeds func (_m *Message) ReplyWithEmbeds(content string, embeds []common.MessageEmbed) common.Message { … } // ReplyWithImage provides a mock function with given fields: content, image func (_m *Message) ReplyWithImage(content string, image common.MessageImage) common.Message { … } // ReplyWithText provides a mock function with given fields: content func (_m *Message) ReplyWithText(content string) common.Message { … } // ReplyingToRatz provides a mock function with given fields: func (_m *Message) ReplyingToRatz() bool { … } // Server provides a mock function with given fields: func (_m *Message) Server() common.ChatServer { … } // ServerID provides a mock function with given fields: func (_m *Message) ServerID() string { … } // Timestamp provides a mock function with given fields: func (_m *Message) Timestamp() time.Time { … } // Type provides a mock function with given fields: func (_m *Message) Type() common.MessageType { … } // NewMessage creates a new instance of Message. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. // The first argument is typically a *testing.T value. func NewMessage(t interface { … }