telebotmock

package
v0.0.0-...-b2f9ab3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package telebotmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContext

type MockContext struct {
	// contains filtered or unexported fields
}

MockContext is a mock of Context interface.

func NewMockContext

func NewMockContext(ctrl *gomock.Controller) *MockContext

NewMockContext creates a new mock instance.

func (*MockContext) Accept

func (m *MockContext) Accept(arg0 ...string) error

Accept mocks base method.

func (*MockContext) Answer

func (m *MockContext) Answer(arg0 *telebot.QueryResponse) error

Answer mocks base method.

func (*MockContext) Args

func (m *MockContext) Args() []string

Args mocks base method.

func (*MockContext) Bot

func (m *MockContext) Bot() *telebot.Bot

Bot mocks base method.

func (*MockContext) Callback

func (m *MockContext) Callback() *telebot.Callback

Callback mocks base method.

func (*MockContext) Chat

func (m *MockContext) Chat() *telebot.Chat

Chat mocks base method.

func (*MockContext) ChatJoinRequest

func (m *MockContext) ChatJoinRequest() *telebot.ChatJoinRequest

ChatJoinRequest mocks base method.

func (*MockContext) ChatMember

func (m *MockContext) ChatMember() *telebot.ChatMemberUpdate

ChatMember mocks base method.

func (*MockContext) Data

func (m *MockContext) Data() string

Data mocks base method.

func (*MockContext) Delete

func (m *MockContext) Delete() error

Delete mocks base method.

func (*MockContext) DeleteAfter

func (m *MockContext) DeleteAfter(arg0 time.Duration) *time.Timer

DeleteAfter mocks base method.

func (*MockContext) EXPECT

func (m *MockContext) EXPECT() *MockContextMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockContext) Edit

func (m *MockContext) Edit(arg0 interface{}, arg1 ...interface{}) error

Edit mocks base method.

func (*MockContext) EditCaption

func (m *MockContext) EditCaption(arg0 string, arg1 ...interface{}) error

EditCaption mocks base method.

func (*MockContext) EditOrReply

func (m *MockContext) EditOrReply(arg0 interface{}, arg1 ...interface{}) error

EditOrReply mocks base method.

func (*MockContext) EditOrSend

func (m *MockContext) EditOrSend(arg0 interface{}, arg1 ...interface{}) error

EditOrSend mocks base method.

func (*MockContext) Forward

func (m *MockContext) Forward(arg0 telebot.Editable, arg1 ...interface{}) error

Forward mocks base method.

func (*MockContext) ForwardTo

func (m *MockContext) ForwardTo(arg0 telebot.Recipient, arg1 ...interface{}) error

ForwardTo mocks base method.

func (*MockContext) Get

func (m *MockContext) Get(arg0 string) interface{}

Get mocks base method.

func (*MockContext) InlineResult

func (m *MockContext) InlineResult() *telebot.InlineResult

InlineResult mocks base method.

func (*MockContext) Message

func (m *MockContext) Message() *telebot.Message

Message mocks base method.

func (*MockContext) Migration

func (m *MockContext) Migration() (int64, int64)

Migration mocks base method.

func (*MockContext) Notify

func (m *MockContext) Notify(arg0 telebot.ChatAction) error

Notify mocks base method.

func (*MockContext) Poll

func (m *MockContext) Poll() *telebot.Poll

Poll mocks base method.

func (*MockContext) PollAnswer

func (m *MockContext) PollAnswer() *telebot.PollAnswer

PollAnswer mocks base method.

func (*MockContext) PreCheckoutQuery

func (m *MockContext) PreCheckoutQuery() *telebot.PreCheckoutQuery

PreCheckoutQuery mocks base method.

func (*MockContext) Query

func (m *MockContext) Query() *telebot.Query

Query mocks base method.

func (*MockContext) Recipient

func (m *MockContext) Recipient() telebot.Recipient

Recipient mocks base method.

func (*MockContext) Reply

func (m *MockContext) Reply(arg0 interface{}, arg1 ...interface{}) error

Reply mocks base method.

func (*MockContext) Respond

func (m *MockContext) Respond(arg0 ...*telebot.CallbackResponse) error

Respond mocks base method.

func (*MockContext) Send

func (m *MockContext) Send(arg0 interface{}, arg1 ...interface{}) error

Send mocks base method.

func (*MockContext) SendAlbum

func (m *MockContext) SendAlbum(arg0 telebot.Album, arg1 ...interface{}) error

SendAlbum mocks base method.

func (*MockContext) Sender

func (m *MockContext) Sender() *telebot.User

Sender mocks base method.

func (*MockContext) Set

func (m *MockContext) Set(arg0 string, arg1 interface{})

Set mocks base method.

func (*MockContext) Ship

func (m *MockContext) Ship(arg0 ...interface{}) error

Ship mocks base method.

func (*MockContext) ShippingQuery

func (m *MockContext) ShippingQuery() *telebot.ShippingQuery

ShippingQuery mocks base method.

func (*MockContext) Text

func (m *MockContext) Text() string

Text mocks base method.

func (*MockContext) Update

func (m *MockContext) Update() telebot.Update

Update mocks base method.

type MockContextMockRecorder

type MockContextMockRecorder struct {
	// contains filtered or unexported fields
}

MockContextMockRecorder is the mock recorder for MockContext.

func (*MockContextMockRecorder) Accept

func (mr *MockContextMockRecorder) Accept(arg0 ...interface{}) *gomock.Call

Accept indicates an expected call of Accept.

func (*MockContextMockRecorder) Answer

func (mr *MockContextMockRecorder) Answer(arg0 interface{}) *gomock.Call

Answer indicates an expected call of Answer.

func (*MockContextMockRecorder) Args

func (mr *MockContextMockRecorder) Args() *gomock.Call

Args indicates an expected call of Args.

func (*MockContextMockRecorder) Bot

func (mr *MockContextMockRecorder) Bot() *gomock.Call

Bot indicates an expected call of Bot.

func (*MockContextMockRecorder) Callback

func (mr *MockContextMockRecorder) Callback() *gomock.Call

Callback indicates an expected call of Callback.

func (*MockContextMockRecorder) Chat

func (mr *MockContextMockRecorder) Chat() *gomock.Call

Chat indicates an expected call of Chat.

func (*MockContextMockRecorder) ChatJoinRequest

func (mr *MockContextMockRecorder) ChatJoinRequest() *gomock.Call

ChatJoinRequest indicates an expected call of ChatJoinRequest.

func (*MockContextMockRecorder) ChatMember

func (mr *MockContextMockRecorder) ChatMember() *gomock.Call

ChatMember indicates an expected call of ChatMember.

func (*MockContextMockRecorder) Data

func (mr *MockContextMockRecorder) Data() *gomock.Call

Data indicates an expected call of Data.

func (*MockContextMockRecorder) Delete

func (mr *MockContextMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete.

func (*MockContextMockRecorder) DeleteAfter

func (mr *MockContextMockRecorder) DeleteAfter(arg0 interface{}) *gomock.Call

DeleteAfter indicates an expected call of DeleteAfter.

func (*MockContextMockRecorder) Edit

func (mr *MockContextMockRecorder) Edit(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Edit indicates an expected call of Edit.

func (*MockContextMockRecorder) EditCaption

func (mr *MockContextMockRecorder) EditCaption(arg0 interface{}, arg1 ...interface{}) *gomock.Call

EditCaption indicates an expected call of EditCaption.

func (*MockContextMockRecorder) EditOrReply

func (mr *MockContextMockRecorder) EditOrReply(arg0 interface{}, arg1 ...interface{}) *gomock.Call

EditOrReply indicates an expected call of EditOrReply.

func (*MockContextMockRecorder) EditOrSend

func (mr *MockContextMockRecorder) EditOrSend(arg0 interface{}, arg1 ...interface{}) *gomock.Call

EditOrSend indicates an expected call of EditOrSend.

func (*MockContextMockRecorder) Forward

func (mr *MockContextMockRecorder) Forward(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Forward indicates an expected call of Forward.

func (*MockContextMockRecorder) ForwardTo

func (mr *MockContextMockRecorder) ForwardTo(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ForwardTo indicates an expected call of ForwardTo.

func (*MockContextMockRecorder) Get

func (mr *MockContextMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockContextMockRecorder) InlineResult

func (mr *MockContextMockRecorder) InlineResult() *gomock.Call

InlineResult indicates an expected call of InlineResult.

func (*MockContextMockRecorder) Message

func (mr *MockContextMockRecorder) Message() *gomock.Call

Message indicates an expected call of Message.

func (*MockContextMockRecorder) Migration

func (mr *MockContextMockRecorder) Migration() *gomock.Call

Migration indicates an expected call of Migration.

func (*MockContextMockRecorder) Notify

func (mr *MockContextMockRecorder) Notify(arg0 interface{}) *gomock.Call

Notify indicates an expected call of Notify.

func (*MockContextMockRecorder) Poll

func (mr *MockContextMockRecorder) Poll() *gomock.Call

Poll indicates an expected call of Poll.

func (*MockContextMockRecorder) PollAnswer

func (mr *MockContextMockRecorder) PollAnswer() *gomock.Call

PollAnswer indicates an expected call of PollAnswer.

func (*MockContextMockRecorder) PreCheckoutQuery

func (mr *MockContextMockRecorder) PreCheckoutQuery() *gomock.Call

PreCheckoutQuery indicates an expected call of PreCheckoutQuery.

func (*MockContextMockRecorder) Query

func (mr *MockContextMockRecorder) Query() *gomock.Call

Query indicates an expected call of Query.

func (*MockContextMockRecorder) Recipient

func (mr *MockContextMockRecorder) Recipient() *gomock.Call

Recipient indicates an expected call of Recipient.

func (*MockContextMockRecorder) Reply

func (mr *MockContextMockRecorder) Reply(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Reply indicates an expected call of Reply.

func (*MockContextMockRecorder) Respond

func (mr *MockContextMockRecorder) Respond(arg0 ...interface{}) *gomock.Call

Respond indicates an expected call of Respond.

func (*MockContextMockRecorder) Send

func (mr *MockContextMockRecorder) Send(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockContextMockRecorder) SendAlbum

func (mr *MockContextMockRecorder) SendAlbum(arg0 interface{}, arg1 ...interface{}) *gomock.Call

SendAlbum indicates an expected call of SendAlbum.

func (*MockContextMockRecorder) Sender

func (mr *MockContextMockRecorder) Sender() *gomock.Call

Sender indicates an expected call of Sender.

func (*MockContextMockRecorder) Set

func (mr *MockContextMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockContextMockRecorder) Ship

func (mr *MockContextMockRecorder) Ship(arg0 ...interface{}) *gomock.Call

Ship indicates an expected call of Ship.

func (*MockContextMockRecorder) ShippingQuery

func (mr *MockContextMockRecorder) ShippingQuery() *gomock.Call

ShippingQuery indicates an expected call of ShippingQuery.

func (*MockContextMockRecorder) Text

func (mr *MockContextMockRecorder) Text() *gomock.Call

Text indicates an expected call of Text.

func (*MockContextMockRecorder) Update

func (mr *MockContextMockRecorder) Update() *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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