mocks

package
v0.0.0-...-6797ff3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: Apache-2.0 Imports: 4 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 {
	mock.Mock
}

Telebot is an autogenerated mock type for the Telebot type

func (*Telebot) AnswerCallback

func (_m *Telebot) AnswerCallback(callbackQueryID string) error

AnswerCallback provides a mock function with given fields: callbackQueryID

func (*Telebot) AttachAudio

func (_m *Telebot) AttachAudio(chatID string, filename string, text string, option func(url.Values)) (int, error)

AttachAudio provides a mock function with given fields: chatID, filename, text, option

func (*Telebot) AttachFile

func (_m *Telebot) AttachFile(chatID string, filename string, text string, option func(url.Values)) (int, error)

AttachFile provides a mock function with given fields: chatID, filename, text, option

func (*Telebot) AttachPhoto

func (_m *Telebot) AttachPhoto(chatID string, filename string, text string, option func(url.Values)) (int, error)

AttachPhoto provides a mock function with given fields: chatID, filename, text, option

func (*Telebot) AttachVideo

func (_m *Telebot) AttachVideo(chatID string, filename string, text string, option func(url.Values)) (int, error)

AttachVideo provides a mock function with given fields: chatID, filename, text, option

func (*Telebot) DeleteMsg

func (_m *Telebot) DeleteMsg(chatID string, messageID int) error

DeleteMsg provides a mock function with given fields: chatID, messageID

func (*Telebot) EditInlineMarkup

func (_m *Telebot) EditInlineMarkup(chatID string, messageID int, markup *tbot.InlineKeyboardMarkup) (int, error)

EditInlineMarkup provides a mock function with given fields: chatID, messageID, markup

func (*Telebot) EditMsg

func (_m *Telebot) EditMsg(chatID string, messageID int, text string, markup *tbot.InlineKeyboardMarkup) error

EditMsg provides a mock function with given fields: chatID, messageID, text, markup

func (*Telebot) ForwardAudio

func (_m *Telebot) ForwardAudio(chatID string, fileID string, text string, option func(url.Values)) (int, error)

ForwardAudio provides a mock function with given fields: chatID, fileID, text, option

func (*Telebot) ForwardFile

func (_m *Telebot) ForwardFile(chatID string, fileID string, text string, option func(url.Values)) (int, error)

ForwardFile provides a mock function with given fields: chatID, fileID, text, option

func (*Telebot) ForwardPhoto

func (_m *Telebot) ForwardPhoto(chatID string, fileID string, text string, option func(url.Values)) (int, error)

ForwardPhoto provides a mock function with given fields: chatID, fileID, text, option

func (*Telebot) ForwardVideo

func (_m *Telebot) ForwardVideo(chatID string, fileID string, text string, option func(url.Values)) (int, error)

ForwardVideo provides a mock function with given fields: chatID, fileID, text, option

func (*Telebot) GetFileInfo

func (_m *Telebot) GetFileInfo(fileID string) (*tbot.File, error)

GetFileInfo provides a mock function with given fields: fileID

func (*Telebot) SendText

func (_m *Telebot) SendText(chatID string, text string, option func(url.Values)) (int, error)

SendText provides a mock function with given fields: chatID, text, option

type Vm

type Vm struct {
	mock.Mock
}

Vm is an autogenerated mock type for the Vm type

func (*Vm) Call

func (_m *Vm) Call(source string, argumentList ...interface{}) (otto.Value, error)

Call provides a mock function with given fields: source, argumentList

func (*Vm) Copy

func (_m *Vm) Copy() Vm

Copy provides a mock function with given fields:

func (*Vm) Object

func (_m *Vm) Object(source string) (*otto.Object, error)

Object provides a mock function with given fields: source

func (*Vm) Run

func (_m *Vm) Run(src interface{}) (otto.Value, error)

Run provides a mock function with given fields: src

func (*Vm) Set

func (_m *Vm) Set(name string, value interface{}) error

Set provides a mock function with given fields: name, value

Jump to

Keyboard shortcuts

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