Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotServerMock ¶
type BotServerMock struct {
*httpt.MockServer
// contains filtered or unexported fields
}
func NewBotServerMock ¶
func NewBotServerMock(test *test.Test, mock *httpt.MockServer, botInfo telegram_bot.User) *BotServerMock
func TestBot ¶
func TestBot(t *test.Test) (*telegram_bot.BotApi, *BotServerMock)
func (*BotServerMock) CleanUpdates ¶
func (b *BotServerMock) CleanUpdates()
func (*BotServerMock) SetUpdates ¶
func (b *BotServerMock) SetUpdates(updates []telegram_bot.Update)
Click to show internal directories.
Click to hide internal directories.