telegramt

package
v0.0.0-...-3a7b102 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 9 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL