ratz/src/chatservers/common/mocks/Channel.go

type Channel

// AllActivity provides a mock function with given fields: window
func (_m *Channel) AllActivity(window common.TimeWindow) int {}

// ChannelID provides a mock function with given fields:
func (_m *Channel) ChannelID() string {}

// CreateThread provides a mock function with given fields: title
func (_m *Channel) CreateThread(title string) common.Thread {}

// EventCount provides a mock function with given fields: eventkey, window
func (_m *Channel) EventCount(eventkey string, window common.TimeWindow) int {}

// IsVoiceChannel provides a mock function with given fields:
func (_m *Channel) IsVoiceChannel() bool {}

// LastMessage provides a mock function with given fields:
func (_m *Channel) LastMessage() common.Message {}

// LastMessages provides a mock function with given fields: count
func (_m *Channel) LastMessages(count int) []common.Message {}

// OnServer provides a mock function with given fields:
func (_m *Channel) OnServer() common.ChatServer {}

// PostInChannel provides a mock function with given fields: message
func (_m *Channel) PostInChannel(message string) common.Message {}

// PostInChannelWithAttachment provides a mock function with given fields: message, attachment
func (_m *Channel) PostInChannelWithAttachment(message string, attachment common.MessageAttachment) common.Message {}

// PostInChannelWithEmbed provides a mock function with given fields: message, embed
func (_m *Channel) PostInChannelWithEmbed(message string, embed common.MessageEmbed) common.Message {}

// PostInChannelWithEmbeds provides a mock function with given fields: message, embeds
func (_m *Channel) PostInChannelWithEmbeds(message string, embeds []common.MessageEmbed) common.Message {}

// PostInChannelWithImage provides a mock function with given fields: message, attachment
func (_m *Channel) PostInChannelWithImage(message string, attachment common.MessageImage) common.Message {}

// PostInChannelWithThumbnail provides a mock function with given fields: message, image
func (_m *Channel) PostInChannelWithThumbnail(message string, image images.RemoteImage) common.Message {}

// Posts provides a mock function with given fields:
func (_m *Channel) Posts() <-chan common.Message {}

// PruneAfter provides a mock function with given fields: msg, duration
func (_m *Channel) PruneAfter(msg common.Message, duration time.Duration) {}

// PurgeEvent provides a mock function with given fields: event
func (_m *Channel) PurgeEvent(event string) {}

// TrackEvent provides a mock function with given fields: eventkey
func (_m *Channel) TrackEvent(eventkey string) {}

// TrackMessage provides a mock function with given fields: m
func (_m *Channel) TrackMessage(m common.Message) {}

// NewChannel creates a new instance of Channel. 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 NewChannel(t interface {}