Documentation ¶
Overview ¶
Package mock_helper is a generated GoMock package.
Package mock_tgbotapi is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockBotAPI
- func (m *MockBotAPI) AnswerCallbackQuery(config telegram_bot_api.CallbackConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) AnswerInlineQuery(config telegram_bot_api.InlineConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) AnswerPreCheckoutQuery(config telegram_bot_api.PreCheckoutConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) AnswerShippingQuery(config telegram_bot_api.ShippingConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) DeleteChatPhoto(config telegram_bot_api.DeleteChatPhotoConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) DeleteMessage(config telegram_bot_api.DeleteMessageConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) EXPECT() *MockBotAPIMockRecorder
- func (m *MockBotAPI) GetChat(config telegram_bot_api.ChatConfig) (telegram_bot_api.Chat, error)
- func (m *MockBotAPI) GetChatAdministrators(config telegram_bot_api.ChatConfig) ([]telegram_bot_api.ChatMember, error)
- func (m *MockBotAPI) GetChatMember(config telegram_bot_api.ChatConfigWithUser) (telegram_bot_api.ChatMember, error)
- func (m *MockBotAPI) GetChatMembersCount(config telegram_bot_api.ChatConfig) (int, error)
- func (m *MockBotAPI) GetFile(config telegram_bot_api.FileConfig) (telegram_bot_api.File, error)
- func (m *MockBotAPI) GetFileDirectURL(fileID string) (string, error)
- func (m *MockBotAPI) GetGameHighScores(config telegram_bot_api.GetGameHighScoresConfig) ([]telegram_bot_api.GameHighScore, error)
- func (m *MockBotAPI) GetInviteLink(config telegram_bot_api.ChatConfig) (string, error)
- func (m *MockBotAPI) GetMe() (telegram_bot_api.User, error)
- func (m *MockBotAPI) GetUpdates(config telegram_bot_api.UpdateConfig) ([]telegram_bot_api.Update, error)
- func (m *MockBotAPI) GetUpdatesChan(config telegram_bot_api.UpdateConfig) (telegram_bot_api.UpdatesChannel, error)
- func (m *MockBotAPI) GetUserProfilePhotos(config telegram_bot_api.UserProfilePhotosConfig) (telegram_bot_api.UserProfilePhotos, error)
- func (m *MockBotAPI) GetWebhookInfo() (telegram_bot_api.WebhookInfo, error)
- func (m *MockBotAPI) IsMessageToMe(message telegram_bot_api.Message) bool
- func (m *MockBotAPI) KickChatMember(config telegram_bot_api.KickChatMemberConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) LeaveChat(config telegram_bot_api.ChatConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) ListenForWebhook(pattern string) telegram_bot_api.UpdatesChannel
- func (m *MockBotAPI) MakeRequest(endpoint string, params url.Values) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) PinChatMessage(config telegram_bot_api.PinChatMessageConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) PromoteChatMember(config telegram_bot_api.PromoteChatMemberConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) RemoveWebhook() (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) RestrictChatMember(config telegram_bot_api.RestrictChatMemberConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) Send(c telegram_bot_api.Chattable) (telegram_bot_api.Message, error)
- func (m *MockBotAPI) SetChatDescription(config telegram_bot_api.SetChatDescriptionConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) SetChatPhoto(config telegram_bot_api.SetChatPhotoConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) SetChatTitle(config telegram_bot_api.SetChatTitleConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) SetWebhook(config telegram_bot_api.WebhookConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) StopReceivingUpdates()
- func (m *MockBotAPI) UnbanChatMember(config telegram_bot_api.ChatMemberConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) UnpinChatMessage(config telegram_bot_api.UnpinChatMessageConfig) (telegram_bot_api.APIResponse, error)
- func (m *MockBotAPI) UploadFile(endpoint string, params map[string]string, fieldname string, file interface{}) (telegram_bot_api.APIResponse, error)
- type MockBotAPIMockRecorder
- func (mr *MockBotAPIMockRecorder) AnswerCallbackQuery(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) AnswerInlineQuery(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) AnswerPreCheckoutQuery(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) AnswerShippingQuery(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) DeleteChatPhoto(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) DeleteMessage(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetChat(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetChatAdministrators(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetChatMember(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetChatMembersCount(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetFile(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetFileDirectURL(fileID interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetGameHighScores(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetInviteLink(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetMe() *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetUpdates(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetUpdatesChan(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetUserProfilePhotos(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) GetWebhookInfo() *gomock.Call
- func (mr *MockBotAPIMockRecorder) IsMessageToMe(message interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) KickChatMember(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) LeaveChat(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) ListenForWebhook(pattern interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) MakeRequest(endpoint, params interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) PinChatMessage(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) PromoteChatMember(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) RemoveWebhook() *gomock.Call
- func (mr *MockBotAPIMockRecorder) RestrictChatMember(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) Send(c interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) SetChatDescription(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) SetChatPhoto(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) SetChatTitle(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) SetWebhook(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) StopReceivingUpdates() *gomock.Call
- func (mr *MockBotAPIMockRecorder) UnbanChatMember(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) UnpinChatMessage(config interface{}) *gomock.Call
- func (mr *MockBotAPIMockRecorder) UploadFile(endpoint, params, fieldname, file interface{}) *gomock.Call
- type MockI18nHelper
- type MockI18nHelperMockRecorder
- type MockLocalizer
- type MockLocalizerMockRecorder
- type MockUserService
- type MockUserServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBotAPI ¶
type MockBotAPI struct {
// contains filtered or unexported fields
}
MockBotAPI is a mock of BotAPI interface
func NewMockBotAPI ¶
func NewMockBotAPI(ctrl *gomock.Controller) *MockBotAPI
NewMockBotAPI creates a new mock instance
func (*MockBotAPI) AnswerCallbackQuery ¶
func (m *MockBotAPI) AnswerCallbackQuery(config telegram_bot_api.CallbackConfig) (telegram_bot_api.APIResponse, error)
AnswerCallbackQuery mocks base method
func (*MockBotAPI) AnswerInlineQuery ¶
func (m *MockBotAPI) AnswerInlineQuery(config telegram_bot_api.InlineConfig) (telegram_bot_api.APIResponse, error)
AnswerInlineQuery mocks base method
func (*MockBotAPI) AnswerPreCheckoutQuery ¶
func (m *MockBotAPI) AnswerPreCheckoutQuery(config telegram_bot_api.PreCheckoutConfig) (telegram_bot_api.APIResponse, error)
AnswerPreCheckoutQuery mocks base method
func (*MockBotAPI) AnswerShippingQuery ¶
func (m *MockBotAPI) AnswerShippingQuery(config telegram_bot_api.ShippingConfig) (telegram_bot_api.APIResponse, error)
AnswerShippingQuery mocks base method
func (*MockBotAPI) DeleteChatPhoto ¶
func (m *MockBotAPI) DeleteChatPhoto(config telegram_bot_api.DeleteChatPhotoConfig) (telegram_bot_api.APIResponse, error)
DeleteChatPhoto mocks base method
func (*MockBotAPI) DeleteMessage ¶
func (m *MockBotAPI) DeleteMessage(config telegram_bot_api.DeleteMessageConfig) (telegram_bot_api.APIResponse, error)
DeleteMessage mocks base method
func (*MockBotAPI) EXPECT ¶
func (m *MockBotAPI) EXPECT() *MockBotAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBotAPI) GetChat ¶
func (m *MockBotAPI) GetChat(config telegram_bot_api.ChatConfig) (telegram_bot_api.Chat, error)
GetChat mocks base method
func (*MockBotAPI) GetChatAdministrators ¶
func (m *MockBotAPI) GetChatAdministrators(config telegram_bot_api.ChatConfig) ([]telegram_bot_api.ChatMember, error)
GetChatAdministrators mocks base method
func (*MockBotAPI) GetChatMember ¶
func (m *MockBotAPI) GetChatMember(config telegram_bot_api.ChatConfigWithUser) (telegram_bot_api.ChatMember, error)
GetChatMember mocks base method
func (*MockBotAPI) GetChatMembersCount ¶
func (m *MockBotAPI) GetChatMembersCount(config telegram_bot_api.ChatConfig) (int, error)
GetChatMembersCount mocks base method
func (*MockBotAPI) GetFile ¶
func (m *MockBotAPI) GetFile(config telegram_bot_api.FileConfig) (telegram_bot_api.File, error)
GetFile mocks base method
func (*MockBotAPI) GetFileDirectURL ¶
func (m *MockBotAPI) GetFileDirectURL(fileID string) (string, error)
GetFileDirectURL mocks base method
func (*MockBotAPI) GetGameHighScores ¶
func (m *MockBotAPI) GetGameHighScores(config telegram_bot_api.GetGameHighScoresConfig) ([]telegram_bot_api.GameHighScore, error)
GetGameHighScores mocks base method
func (*MockBotAPI) GetInviteLink ¶
func (m *MockBotAPI) GetInviteLink(config telegram_bot_api.ChatConfig) (string, error)
GetInviteLink mocks base method
func (*MockBotAPI) GetMe ¶
func (m *MockBotAPI) GetMe() (telegram_bot_api.User, error)
GetMe mocks base method
func (*MockBotAPI) GetUpdates ¶
func (m *MockBotAPI) GetUpdates(config telegram_bot_api.UpdateConfig) ([]telegram_bot_api.Update, error)
GetUpdates mocks base method
func (*MockBotAPI) GetUpdatesChan ¶
func (m *MockBotAPI) GetUpdatesChan(config telegram_bot_api.UpdateConfig) (telegram_bot_api.UpdatesChannel, error)
GetUpdatesChan mocks base method
func (*MockBotAPI) GetUserProfilePhotos ¶
func (m *MockBotAPI) GetUserProfilePhotos(config telegram_bot_api.UserProfilePhotosConfig) (telegram_bot_api.UserProfilePhotos, error)
GetUserProfilePhotos mocks base method
func (*MockBotAPI) GetWebhookInfo ¶
func (m *MockBotAPI) GetWebhookInfo() (telegram_bot_api.WebhookInfo, error)
GetWebhookInfo mocks base method
func (*MockBotAPI) IsMessageToMe ¶
func (m *MockBotAPI) IsMessageToMe(message telegram_bot_api.Message) bool
IsMessageToMe mocks base method
func (*MockBotAPI) KickChatMember ¶
func (m *MockBotAPI) KickChatMember(config telegram_bot_api.KickChatMemberConfig) (telegram_bot_api.APIResponse, error)
KickChatMember mocks base method
func (*MockBotAPI) LeaveChat ¶
func (m *MockBotAPI) LeaveChat(config telegram_bot_api.ChatConfig) (telegram_bot_api.APIResponse, error)
LeaveChat mocks base method
func (*MockBotAPI) ListenForWebhook ¶
func (m *MockBotAPI) ListenForWebhook(pattern string) telegram_bot_api.UpdatesChannel
ListenForWebhook mocks base method
func (*MockBotAPI) MakeRequest ¶
func (m *MockBotAPI) MakeRequest(endpoint string, params url.Values) (telegram_bot_api.APIResponse, error)
MakeRequest mocks base method
func (*MockBotAPI) PinChatMessage ¶
func (m *MockBotAPI) PinChatMessage(config telegram_bot_api.PinChatMessageConfig) (telegram_bot_api.APIResponse, error)
PinChatMessage mocks base method
func (*MockBotAPI) PromoteChatMember ¶
func (m *MockBotAPI) PromoteChatMember(config telegram_bot_api.PromoteChatMemberConfig) (telegram_bot_api.APIResponse, error)
PromoteChatMember mocks base method
func (*MockBotAPI) RemoveWebhook ¶
func (m *MockBotAPI) RemoveWebhook() (telegram_bot_api.APIResponse, error)
RemoveWebhook mocks base method
func (*MockBotAPI) RestrictChatMember ¶
func (m *MockBotAPI) RestrictChatMember(config telegram_bot_api.RestrictChatMemberConfig) (telegram_bot_api.APIResponse, error)
RestrictChatMember mocks base method
func (*MockBotAPI) Send ¶
func (m *MockBotAPI) Send(c telegram_bot_api.Chattable) (telegram_bot_api.Message, error)
Send mocks base method
func (*MockBotAPI) SetChatDescription ¶
func (m *MockBotAPI) SetChatDescription(config telegram_bot_api.SetChatDescriptionConfig) (telegram_bot_api.APIResponse, error)
SetChatDescription mocks base method
func (*MockBotAPI) SetChatPhoto ¶
func (m *MockBotAPI) SetChatPhoto(config telegram_bot_api.SetChatPhotoConfig) (telegram_bot_api.APIResponse, error)
SetChatPhoto mocks base method
func (*MockBotAPI) SetChatTitle ¶
func (m *MockBotAPI) SetChatTitle(config telegram_bot_api.SetChatTitleConfig) (telegram_bot_api.APIResponse, error)
SetChatTitle mocks base method
func (*MockBotAPI) SetWebhook ¶
func (m *MockBotAPI) SetWebhook(config telegram_bot_api.WebhookConfig) (telegram_bot_api.APIResponse, error)
SetWebhook mocks base method
func (*MockBotAPI) StopReceivingUpdates ¶
func (m *MockBotAPI) StopReceivingUpdates()
StopReceivingUpdates mocks base method
func (*MockBotAPI) UnbanChatMember ¶
func (m *MockBotAPI) UnbanChatMember(config telegram_bot_api.ChatMemberConfig) (telegram_bot_api.APIResponse, error)
UnbanChatMember mocks base method
func (*MockBotAPI) UnpinChatMessage ¶
func (m *MockBotAPI) UnpinChatMessage(config telegram_bot_api.UnpinChatMessageConfig) (telegram_bot_api.APIResponse, error)
UnpinChatMessage mocks base method
func (*MockBotAPI) UploadFile ¶
func (m *MockBotAPI) UploadFile(endpoint string, params map[string]string, fieldname string, file interface{}) (telegram_bot_api.APIResponse, error)
UploadFile mocks base method
type MockBotAPIMockRecorder ¶
type MockBotAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockBotAPIMockRecorder is the mock recorder for MockBotAPI
func (*MockBotAPIMockRecorder) AnswerCallbackQuery ¶
func (mr *MockBotAPIMockRecorder) AnswerCallbackQuery(config interface{}) *gomock.Call
AnswerCallbackQuery indicates an expected call of AnswerCallbackQuery
func (*MockBotAPIMockRecorder) AnswerInlineQuery ¶
func (mr *MockBotAPIMockRecorder) AnswerInlineQuery(config interface{}) *gomock.Call
AnswerInlineQuery indicates an expected call of AnswerInlineQuery
func (*MockBotAPIMockRecorder) AnswerPreCheckoutQuery ¶
func (mr *MockBotAPIMockRecorder) AnswerPreCheckoutQuery(config interface{}) *gomock.Call
AnswerPreCheckoutQuery indicates an expected call of AnswerPreCheckoutQuery
func (*MockBotAPIMockRecorder) AnswerShippingQuery ¶
func (mr *MockBotAPIMockRecorder) AnswerShippingQuery(config interface{}) *gomock.Call
AnswerShippingQuery indicates an expected call of AnswerShippingQuery
func (*MockBotAPIMockRecorder) DeleteChatPhoto ¶
func (mr *MockBotAPIMockRecorder) DeleteChatPhoto(config interface{}) *gomock.Call
DeleteChatPhoto indicates an expected call of DeleteChatPhoto
func (*MockBotAPIMockRecorder) DeleteMessage ¶
func (mr *MockBotAPIMockRecorder) DeleteMessage(config interface{}) *gomock.Call
DeleteMessage indicates an expected call of DeleteMessage
func (*MockBotAPIMockRecorder) GetChat ¶
func (mr *MockBotAPIMockRecorder) GetChat(config interface{}) *gomock.Call
GetChat indicates an expected call of GetChat
func (*MockBotAPIMockRecorder) GetChatAdministrators ¶
func (mr *MockBotAPIMockRecorder) GetChatAdministrators(config interface{}) *gomock.Call
GetChatAdministrators indicates an expected call of GetChatAdministrators
func (*MockBotAPIMockRecorder) GetChatMember ¶
func (mr *MockBotAPIMockRecorder) GetChatMember(config interface{}) *gomock.Call
GetChatMember indicates an expected call of GetChatMember
func (*MockBotAPIMockRecorder) GetChatMembersCount ¶
func (mr *MockBotAPIMockRecorder) GetChatMembersCount(config interface{}) *gomock.Call
GetChatMembersCount indicates an expected call of GetChatMembersCount
func (*MockBotAPIMockRecorder) GetFile ¶
func (mr *MockBotAPIMockRecorder) GetFile(config interface{}) *gomock.Call
GetFile indicates an expected call of GetFile
func (*MockBotAPIMockRecorder) GetFileDirectURL ¶
func (mr *MockBotAPIMockRecorder) GetFileDirectURL(fileID interface{}) *gomock.Call
GetFileDirectURL indicates an expected call of GetFileDirectURL
func (*MockBotAPIMockRecorder) GetGameHighScores ¶
func (mr *MockBotAPIMockRecorder) GetGameHighScores(config interface{}) *gomock.Call
GetGameHighScores indicates an expected call of GetGameHighScores
func (*MockBotAPIMockRecorder) GetInviteLink ¶
func (mr *MockBotAPIMockRecorder) GetInviteLink(config interface{}) *gomock.Call
GetInviteLink indicates an expected call of GetInviteLink
func (*MockBotAPIMockRecorder) GetMe ¶
func (mr *MockBotAPIMockRecorder) GetMe() *gomock.Call
GetMe indicates an expected call of GetMe
func (*MockBotAPIMockRecorder) GetUpdates ¶
func (mr *MockBotAPIMockRecorder) GetUpdates(config interface{}) *gomock.Call
GetUpdates indicates an expected call of GetUpdates
func (*MockBotAPIMockRecorder) GetUpdatesChan ¶
func (mr *MockBotAPIMockRecorder) GetUpdatesChan(config interface{}) *gomock.Call
GetUpdatesChan indicates an expected call of GetUpdatesChan
func (*MockBotAPIMockRecorder) GetUserProfilePhotos ¶
func (mr *MockBotAPIMockRecorder) GetUserProfilePhotos(config interface{}) *gomock.Call
GetUserProfilePhotos indicates an expected call of GetUserProfilePhotos
func (*MockBotAPIMockRecorder) GetWebhookInfo ¶
func (mr *MockBotAPIMockRecorder) GetWebhookInfo() *gomock.Call
GetWebhookInfo indicates an expected call of GetWebhookInfo
func (*MockBotAPIMockRecorder) IsMessageToMe ¶
func (mr *MockBotAPIMockRecorder) IsMessageToMe(message interface{}) *gomock.Call
IsMessageToMe indicates an expected call of IsMessageToMe
func (*MockBotAPIMockRecorder) KickChatMember ¶
func (mr *MockBotAPIMockRecorder) KickChatMember(config interface{}) *gomock.Call
KickChatMember indicates an expected call of KickChatMember
func (*MockBotAPIMockRecorder) LeaveChat ¶
func (mr *MockBotAPIMockRecorder) LeaveChat(config interface{}) *gomock.Call
LeaveChat indicates an expected call of LeaveChat
func (*MockBotAPIMockRecorder) ListenForWebhook ¶
func (mr *MockBotAPIMockRecorder) ListenForWebhook(pattern interface{}) *gomock.Call
ListenForWebhook indicates an expected call of ListenForWebhook
func (*MockBotAPIMockRecorder) MakeRequest ¶
func (mr *MockBotAPIMockRecorder) MakeRequest(endpoint, params interface{}) *gomock.Call
MakeRequest indicates an expected call of MakeRequest
func (*MockBotAPIMockRecorder) PinChatMessage ¶
func (mr *MockBotAPIMockRecorder) PinChatMessage(config interface{}) *gomock.Call
PinChatMessage indicates an expected call of PinChatMessage
func (*MockBotAPIMockRecorder) PromoteChatMember ¶
func (mr *MockBotAPIMockRecorder) PromoteChatMember(config interface{}) *gomock.Call
PromoteChatMember indicates an expected call of PromoteChatMember
func (*MockBotAPIMockRecorder) RemoveWebhook ¶
func (mr *MockBotAPIMockRecorder) RemoveWebhook() *gomock.Call
RemoveWebhook indicates an expected call of RemoveWebhook
func (*MockBotAPIMockRecorder) RestrictChatMember ¶
func (mr *MockBotAPIMockRecorder) RestrictChatMember(config interface{}) *gomock.Call
RestrictChatMember indicates an expected call of RestrictChatMember
func (*MockBotAPIMockRecorder) Send ¶
func (mr *MockBotAPIMockRecorder) Send(c interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockBotAPIMockRecorder) SetChatDescription ¶
func (mr *MockBotAPIMockRecorder) SetChatDescription(config interface{}) *gomock.Call
SetChatDescription indicates an expected call of SetChatDescription
func (*MockBotAPIMockRecorder) SetChatPhoto ¶
func (mr *MockBotAPIMockRecorder) SetChatPhoto(config interface{}) *gomock.Call
SetChatPhoto indicates an expected call of SetChatPhoto
func (*MockBotAPIMockRecorder) SetChatTitle ¶
func (mr *MockBotAPIMockRecorder) SetChatTitle(config interface{}) *gomock.Call
SetChatTitle indicates an expected call of SetChatTitle
func (*MockBotAPIMockRecorder) SetWebhook ¶
func (mr *MockBotAPIMockRecorder) SetWebhook(config interface{}) *gomock.Call
SetWebhook indicates an expected call of SetWebhook
func (*MockBotAPIMockRecorder) StopReceivingUpdates ¶
func (mr *MockBotAPIMockRecorder) StopReceivingUpdates() *gomock.Call
StopReceivingUpdates indicates an expected call of StopReceivingUpdates
func (*MockBotAPIMockRecorder) UnbanChatMember ¶
func (mr *MockBotAPIMockRecorder) UnbanChatMember(config interface{}) *gomock.Call
UnbanChatMember indicates an expected call of UnbanChatMember
func (*MockBotAPIMockRecorder) UnpinChatMessage ¶
func (mr *MockBotAPIMockRecorder) UnpinChatMessage(config interface{}) *gomock.Call
UnpinChatMessage indicates an expected call of UnpinChatMessage
func (*MockBotAPIMockRecorder) UploadFile ¶
func (mr *MockBotAPIMockRecorder) UploadFile(endpoint, params, fieldname, file interface{}) *gomock.Call
UploadFile indicates an expected call of UploadFile
type MockI18nHelper ¶
type MockI18nHelper struct {
// contains filtered or unexported fields
}
MockI18nHelper is a mock of I18nHelper interface.
func NewMockI18nHelper ¶
func NewMockI18nHelper(ctrl *gomock.Controller) *MockI18nHelper
NewMockI18nHelper creates a new mock instance.
func (*MockI18nHelper) EXPECT ¶
func (m *MockI18nHelper) EXPECT() *MockI18nHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockI18nHelper) MustGetLocalizer ¶
func (m *MockI18nHelper) MustGetLocalizer(chatID int64) *i18n.Localizer
MustGetLocalizer mocks base method.
type MockI18nHelperMockRecorder ¶
type MockI18nHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockI18nHelperMockRecorder is the mock recorder for MockI18nHelper.
func (*MockI18nHelperMockRecorder) MustGetLocalizer ¶
func (mr *MockI18nHelperMockRecorder) MustGetLocalizer(chatID interface{}) *gomock.Call
MustGetLocalizer indicates an expected call of MustGetLocalizer.
type MockLocalizer ¶
type MockLocalizer struct {
// contains filtered or unexported fields
}
MockLocalizer is a mock of Localizer interface.
func NewMockLocalizer ¶
func NewMockLocalizer(ctrl *gomock.Controller) *MockLocalizer
NewMockLocalizer creates a new mock instance.
func (*MockLocalizer) EXPECT ¶
func (m *MockLocalizer) EXPECT() *MockLocalizerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLocalizer) MustLocalize ¶
func (m *MockLocalizer) MustLocalize(config *i18n.LocalizeConfig) string
MustLocalize mocks base method.
type MockLocalizerMockRecorder ¶
type MockLocalizerMockRecorder struct {
// contains filtered or unexported fields
}
MockLocalizerMockRecorder is the mock recorder for MockLocalizer.
func (*MockLocalizerMockRecorder) MustLocalize ¶
func (mr *MockLocalizerMockRecorder) MustLocalize(chatID interface{}) *gomock.Call
MustLocalize indicates an expected call of MustLocalize.
type MockUserService ¶
type MockUserService struct {
// contains filtered or unexported fields
}
MockUserService is a mock of UserService interface.
func NewMockUserService ¶
func NewMockUserService(ctrl *gomock.Controller) *MockUserService
NewMockUserService creates a new mock instance.
func (*MockUserService) Create ¶
func (m *MockUserService) Create(chatID int64) (*models.User, error)
Create mocks base method.
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService.
func (*MockUserServiceMockRecorder) Create ¶
func (mr *MockUserServiceMockRecorder) Create(chatID interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUserServiceMockRecorder) Update ¶
func (mr *MockUserServiceMockRecorder) Update(chatID, language interface{}) *gomock.Call
Update indicates an expected call of Update.