Documentation
¶
Index ¶
- Constants
- type ThirdState
- func (state *ThirdState) GetAutoMessages() []notifier.NotifierContext
- func (state *ThirdState) GetBotMessages() []types.Message
- func (state *ThirdState) GetName() string
- func (state *ThirdState) ProcessContextedSystemInvoke(chatId types.ChatId, context interface{})
- func (state *ThirdState) ProcessSystemInvoke(chatId types.ChatId)
- func (state *ThirdState) ProcessUserInput(msg types.ReceivedMessage)
- func (state *ThirdState) SetState(msg types.ReceivedMessage, stateData repository.StateDbDto) error
Constants ¶
View Source
const MAX_JOKES_IN_ROW = 2
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThirdState ¶
type ThirdState struct {
// contains filtered or unexported fields
}
TODO transfer all big methods to other file.go in this package
func NewThirdState ¶
func NewThirdState(context *utils.CommonStateContext) *ThirdState
func (*ThirdState) GetAutoMessages ¶
func (state *ThirdState) GetAutoMessages() []notifier.NotifierContext
func (*ThirdState) GetBotMessages ¶
func (state *ThirdState) GetBotMessages() []types.Message
func (*ThirdState) GetName ¶
func (state *ThirdState) GetName() string
func (*ThirdState) ProcessContextedSystemInvoke ¶
func (state *ThirdState) ProcessContextedSystemInvoke(chatId types.ChatId, context interface{})
func (*ThirdState) ProcessSystemInvoke ¶
func (state *ThirdState) ProcessSystemInvoke(chatId types.ChatId)
func (*ThirdState) ProcessUserInput ¶
func (state *ThirdState) ProcessUserInput(msg types.ReceivedMessage)
func (*ThirdState) SetState ¶
func (state *ThirdState) SetState(msg types.ReceivedMessage, stateData repository.StateDbDto) error
Click to show internal directories.
Click to hide internal directories.