telegram

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTelegramBot

func NewTelegramBot(option *internal.Options) (*telegramBot, error)

NewTelegramBot instantiates a new telegram bot.

Types

type MockDispatcher

type MockDispatcher struct {
	mock.Mock
}

MockDispatcher is a mocked dispatcher.

func (*MockDispatcher) Send

func (m *MockDispatcher) Send(message string) error

Send accepts the message to be dispatched and does actually nothing.

Jump to

Keyboard shortcuts

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