Documentation ¶
Overview ¶
Package telebotmock is a generated GoMock package.
Index ¶
- type MockContext
- func (m *MockContext) Accept(arg0 ...string) error
- func (m *MockContext) Answer(arg0 *telebot.QueryResponse) error
- func (m *MockContext) Args() []string
- func (m *MockContext) Bot() *telebot.Bot
- func (m *MockContext) Callback() *telebot.Callback
- func (m *MockContext) Chat() *telebot.Chat
- func (m *MockContext) ChatJoinRequest() *telebot.ChatJoinRequest
- func (m *MockContext) ChatMember() *telebot.ChatMemberUpdate
- func (m *MockContext) Data() string
- func (m *MockContext) Delete() error
- func (m *MockContext) DeleteAfter(arg0 time.Duration) *time.Timer
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) Edit(arg0 interface{}, arg1 ...interface{}) error
- func (m *MockContext) EditCaption(arg0 string, arg1 ...interface{}) error
- func (m *MockContext) EditOrReply(arg0 interface{}, arg1 ...interface{}) error
- func (m *MockContext) EditOrSend(arg0 interface{}, arg1 ...interface{}) error
- func (m *MockContext) Forward(arg0 telebot.Editable, arg1 ...interface{}) error
- func (m *MockContext) ForwardTo(arg0 telebot.Recipient, arg1 ...interface{}) error
- func (m *MockContext) Get(arg0 string) interface{}
- func (m *MockContext) InlineResult() *telebot.InlineResult
- func (m *MockContext) Message() *telebot.Message
- func (m *MockContext) Migration() (int64, int64)
- func (m *MockContext) Notify(arg0 telebot.ChatAction) error
- func (m *MockContext) Poll() *telebot.Poll
- func (m *MockContext) PollAnswer() *telebot.PollAnswer
- func (m *MockContext) PreCheckoutQuery() *telebot.PreCheckoutQuery
- func (m *MockContext) Query() *telebot.Query
- func (m *MockContext) Recipient() telebot.Recipient
- func (m *MockContext) Reply(arg0 interface{}, arg1 ...interface{}) error
- func (m *MockContext) Respond(arg0 ...*telebot.CallbackResponse) error
- func (m *MockContext) Send(arg0 interface{}, arg1 ...interface{}) error
- func (m *MockContext) SendAlbum(arg0 telebot.Album, arg1 ...interface{}) error
- func (m *MockContext) Sender() *telebot.User
- func (m *MockContext) Set(arg0 string, arg1 interface{})
- func (m *MockContext) Ship(arg0 ...interface{}) error
- func (m *MockContext) ShippingQuery() *telebot.ShippingQuery
- func (m *MockContext) Text() string
- func (m *MockContext) Update() telebot.Update
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) Accept(arg0 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Answer(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Args() *gomock.Call
- func (mr *MockContextMockRecorder) Bot() *gomock.Call
- func (mr *MockContextMockRecorder) Callback() *gomock.Call
- func (mr *MockContextMockRecorder) Chat() *gomock.Call
- func (mr *MockContextMockRecorder) ChatJoinRequest() *gomock.Call
- func (mr *MockContextMockRecorder) ChatMember() *gomock.Call
- func (mr *MockContextMockRecorder) Data() *gomock.Call
- func (mr *MockContextMockRecorder) Delete() *gomock.Call
- func (mr *MockContextMockRecorder) DeleteAfter(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Edit(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) EditCaption(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) EditOrReply(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) EditOrSend(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Forward(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ForwardTo(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) InlineResult() *gomock.Call
- func (mr *MockContextMockRecorder) Message() *gomock.Call
- func (mr *MockContextMockRecorder) Migration() *gomock.Call
- func (mr *MockContextMockRecorder) Notify(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Poll() *gomock.Call
- func (mr *MockContextMockRecorder) PollAnswer() *gomock.Call
- func (mr *MockContextMockRecorder) PreCheckoutQuery() *gomock.Call
- func (mr *MockContextMockRecorder) Query() *gomock.Call
- func (mr *MockContextMockRecorder) Recipient() *gomock.Call
- func (mr *MockContextMockRecorder) Reply(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Respond(arg0 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Send(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SendAlbum(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Sender() *gomock.Call
- func (mr *MockContextMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Ship(arg0 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ShippingQuery() *gomock.Call
- func (mr *MockContextMockRecorder) Text() *gomock.Call
- func (mr *MockContextMockRecorder) Update() *gomock.Call
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) Callback ¶
func (m *MockContext) Callback() *telebot.Callback
Callback 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) 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) 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) 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) 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) 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) 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.