fakes

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TeleBot

type TeleBot struct {
	OutboundSendMessages []string
	// contains filtered or unexported fields
}

func NewTeleBot

func NewTeleBot() *TeleBot

func (*TeleBot) Delete added in v0.0.7

func (t *TeleBot) Delete(message tb.Editable) error

func (*TeleBot) Handle

func (t *TeleBot) Handle(endpoint, h interface{})

func (*TeleBot) Respond

func (t *TeleBot) Respond(callback *tb.Callback, responseOptional ...*tb.CallbackResponse) error

func (*TeleBot) Send

func (t *TeleBot) Send(to tb.Recipient, what interface{}, options ...interface{}) (*tb.Message, error)

func (*TeleBot) SimulateIncomingMessageToChat

func (t *TeleBot) SimulateIncomingMessageToChat(chatID int64, text string)

func (*TeleBot) Start

func (t *TeleBot) Start()

Jump to

Keyboard shortcuts

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